Testing
Load dev/testing.md for detailed guidance on writing and fixing tests.
Procedure
- •
Run
make test-with-coverage - •
If failures occur, fix them and re-run
- •
Check coverage for new code (files changed in git):
- •Use
git diff --name-onlyto identify new/modified files - •Review coverage report for those files
- •If < 100% coverage on new code, write additional tests to cover uncovered lines
- •Re-run
make test-with-coverage
- •Use
- •
Repeat until tests pass AND new code has 100% coverage
- •
If feature requires internet/latency (e.g., LLM calls), also run
make test-all
Exit Conditions
- •Success: Tests pass AND 100% coverage on new code
- •Partial: Tests pass but < 100% coverage - report uncovered lines for review
- •Failure: Report remaining failures