code-backend-tests
Installation
SKILL.md
Create Backend Tests
Execution-phase PHPUnit implementation. Planning-phase: pm-unit-test-task-generator.
Harness discovery
Load {harness_root}/rules/backend-tests-rules.mdc and backend-rules.mdc when present. See references/backend-testing-architecture.md for layout, run contract, and bootstrap summary.
Phase 0 — Resolve or bootstrap backend test root
Before any test class code, locate the PHPUnit project or create minimal structure.
0.1 — Detect existing tests (brownfield)
Search {product_root} in this order:
backend/phpunit.xmlphpunit.xmlat{product_root}/tests/Unit/ortests/Feature/under the directory that containscomposer.jsonwith PHPUnit