N25
Quality over speed
Unit E0, then every unit · Verification type Test
- Local:
npm testruns unit, integration (testcontainers) and E2E tests; CI runs the same ones. - Coverage gate 40 % (Vitest Coverage v8, lines) breaks the build.
- Mandatory E2E tests: approval workflow (E5), permissions (E1), import (E10), translation (E2), PDF conformance (E9), UI/MCP parity (E0).