Loading...
Loading...
Best practices for writing PHPUnit tests in Shopware 6 projects, including integration tests, unit tests, and common testing patterns for plugins and apps.
npx skill4agent add friendsofshopware/agent-skills shopware-phpunit| Priority | Category | Prefix | Description |
|---|---|---|---|
| CRITICAL | Test Setup | | Kernel bootstrap, base test classes, PHPUnit configuration |
| HIGH | Integration Testing | | Repository tests, service tests, database transactions |
| HIGH | API Testing | | Store API and Admin API endpoint testing |
| MEDIUM | Mocking | | Service mocking, dependency injection in tests |
| MEDIUM | Data | | Test data creation, fixtures, cleanup |
| LOW | Performance | | Test execution speed, parallel testing |
references/