Test Commands
Snapshot metrics
Section titled “Snapshot metrics”- Snapshot date: 2026-02-21.
- Observed status: 26 files passed / 217 tests passed.
Commands
Section titled “Commands”Run from budgeti/backend:
pnpm test:initpnpm test:unitpnpm test:e2epnpm test:integrationpnpm test:allpnpm test:covCommand intent
Section titled “Command intent”pnpm test:init: deploy test migrations.pnpm test:unit: fast isolated checks.pnpm test:e2e: HTTP-level module flows.pnpm test:integration: OCR/voice real-call checks.pnpm test:all: complete suite.pnpm test:cov: full suite with coverage report.
- Rate-limit middleware skips execution in tests (
NODE_ENV=test). - Some integration tests require external credentials and network access.
- Health endpoint smoke check is
GET /healthand is useful before full suite runs.