Stats
Actions
Tags
From shopware-testing
Best practices for writing PHPUnit tests in Shopware 6 projects, including integration tests, unit tests, and common testing patterns for plugins and apps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shopware-testing:shopware-phpunitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Writing new PHPUnit tests for a Shopware 6 plugin or app
references/_sections.mdreferences/_template.mdreferences/api-store-api-testing.mdreferences/data-product-builder.mdreferences/data-test-fixtures.mdreferences/integration-repository-testing.mdreferences/mock-service-decoration.mdreferences/mock-static-entity-repository.mdreferences/mock-static-system-config-service.mdreferences/setup-base-test-class.mdreferences/setup-kernel-bootstrap.mdreferences/setup-prefer-assertsame.mdreferences/setup-prefer-expect-exception-object.md| Priority | Category | Prefix | Description |
|---|---|---|---|
| CRITICAL | Test Setup | setup- | Kernel bootstrap, base test classes, PHPUnit configuration |
| HIGH | Integration Testing | integration- | Repository tests, service tests, database transactions |
| HIGH | API Testing | api- | Store API and Admin API endpoint testing |
| MEDIUM | Mocking | mock- | Service mocking, dependency injection in tests |
| MEDIUM | Data | data- | Test data creation, fixtures, cleanup |
| LOW | Performance | perf- | Test execution speed, parallel testing |
Read relevant reference files from the references/ directory based on the task at hand. Files are prefixed by category for easy discovery.
Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub zone1987/claude-a-dev-team --plugin shopware-testing