About bagisto-pest-testing
A skill for developers writing or maintaining tests in Bagisto. It provides references for test organization, assertions, mocking, datasets, and architecture tests, and requires a separate verification skill before changes are considered complete.
Key features
- 01Test suite layout reference
- 02Unit and feature test guidance
- 03Assertions, mocking, and datasets
- 04Architecture test support
- 05Required pre-completion verification skill
Use cases
- 01Write tests for Bagisto features
- 02Debug failing tests
- 03Organize package test suites
- 04Add architecture tests
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ bagisto/ agent-skills --skill bagisto-pest-testingAfter installing, type/bagisto-pest-testingin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
new-package.mdsuite-layout.mdwriting-tests.mdDetails
From the project READMEPest Testing in Bagisto
When to Apply
Activate this skill when:
- Creating new tests (unit or feature)
- Modifying existing tests
- Debugging test failures
- Working with datasets, mocking, or test organization
- Writing architecture tests
- Testing Bagisto packages (Admin, Shop, Core, etc.)
Reference files — load only what the current task needs
| File | Load when |
|---|---|
| suite-layout.md | Where tests live, the suites, Pest.php bindings, autoload wiring |
| writing-tests.md | Running tests, test structure, assertions, mocking, datasets, architecture tests |
| new-package.md | Registering a new package's tests, pitfalls, best practices |
REQUIRED SUB-SKILL: Use bagisto-change-verification before calling any change done.
Comments
Markdown supported