ns-backend-tests
Installation
SKILL.md
Create Backend Tests
Execution-phase PHPUnit implementation. Planning-phase: ns-spec-driven/references/unit-test-task-generator.md.
Session boot
Load .nextstage-harness/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 the repo in this order:
backend/phpunit.xmlphpunit.xmlat repo roottests/Unit/ortests/Feature/under the directory that containscomposer.jsonwith PHPUnit