How the project is tested, and what a change has to prove.
An agent will write tests that pass. Whether they test anything that matters depends on whether it was told what matters, and on whether it knows which gaps are known and accepted rather than accidental.
# Testing ## How to run the tests - pnpm test: everything - pnpm test:unit for the fast ones, which need no database ## What must be tested - Anything touching money or patient data has an integration test - Bugs get a failing test before the fix ## Test data and environments Integration tests run against a disposable database created per run. Never against production. ## Known gaps - The reminder worker has no end-to-end test yet