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:

  1. backend/phpunit.xml
  2. phpunit.xml at repo root
  3. tests/Unit/ or tests/Feature/ under the directory that contains composer.json with PHPUnit
Installs
59
First Seen
Aug 17, 2026
ns-backend-tests — nextstage-brasil/skills