Skip to main content

Backend Testing And Quality

This page captures quality gates and recommended checks for backend changes.

Mandatory Checks

From monorepo root:

yarn workspace @adamondo/backend lint
yarn workspace @adamondo/backend tsc --noEmit

Build Validation

yarn workspace @adamondo/backend build

Documentation Validation

yarn workspace @adamondo/backend generate:docs
yarn docs:build

Change Checklist

  • Updated/added service logic is covered by type checks and lint.
  • Workflow or notification behavior changes regenerate docs.
  • API documentation is regenerated when public types/signatures change.
  • New environment or integration assumptions are captured in docs.

Quality Ownership Areas

  • Type safety and API contracts: TypeScript + repository interfaces.
  • Workflow correctness: src/core/workflow/**.
  • Payment-critical paths: src/core/payment/**.
  • Communication correctness: src/core/email/** and notification config.