Timmy
|
3b273f1345
|
feat: Codebase Test Generator — Fill Coverage Gaps (#667)
Smoke Test / smoke (pull_request) Failing after 23s
Add scripts/codebase_test_generator.py:
- AST analysis: finds all functions/methods in source files
- Coverage gap detection: identifies functions without tests
- Test generation: creates pytest test cases for each gap
- Priority: high (has return/raises), medium (public), low (private)
- Auto-generated markers for human review
Stats: 161 source files, 1219 functions, 873 coverage gaps found
Generated 50 tests: 14 pass, 30 skip (import), 6 fail (wrong args)
Usage:
python scripts/codebase_test_generator.py --source . --output tests/test_genome_generated.py
|
2026-04-14 22:09:33 -04:00 |
|