Skip to content

Testing Pyramid

  • Snapshot date: 2026-02-21.
  • Observed status: 26 files passed / 217 tests passed.
  • Unit: validation rules, middleware behavior, use-case decisions.
  • E2E: module-level HTTP flows for auth, wallet, category, transaction, budget, dashboard.
  • Integration (real calls): OCR and voice provider integrations.
  • Unit: backend/src/tests/unit/*.test.ts
  • E2E: backend/src/tests/e2e/**/*.e2e.test.ts
  • Integration: backend/src/tests/integration/*.real.test.ts
  • Fast unit tests catch regressions in business rules.
  • E2E tests verify route-to-database behavior with middleware stack.
  • Real-call integration tests validate external provider contracts and parsing assumptions.