Notaire

Testing process

Constitution-mandated TDD, layered suites, and the heavy-CI merge gate. High-level tests stay PR-blocking; Bruno and pg-integration remain with the backend module (#1190).

LayerOwner moduleCommand
Unitbackend-api / frontendmvn test · npm test (Vitest)
Integration (H2)backend-apimvn test · integration suite
API (Bruno)backend-api/api-testbru run (stays with backend per #1190)
E2E (Playwright)testing/e2enpx playwright test
DB V&Vtesting + Flyway guardtesting/scripts · pg-integration

Gates agents must run

  1. Local mirror of CI: bash workspace/sdlc/preflight.sh ((CI-PREFLIGHT)
  2. Merge authority: bash workspace/sdlc/check-heavy-ci.sh <pr> — Integration + Coverage + Bruno + Playwright must be green (CI-MERGE-GATE).
  3. Test plan: TEST-PLAN.md
testing/ module on GitHub →