Qodo Cover generates new unit tests from coverage gaps using LLMs, then validates that Cobertura coverage increases. It runs locally as a CLI or inside GitHub CI workflows.
Overview
Qodo Cover (formerly Cover Agent) automates test writing aimed at raising code coverage on existing codebases. Pipelines parse Cobertura XML reports, craft prompts from source context, call configured LLM providers, and re-run tests to confirm improvements.
Components include a test runner, coverage parser, prompt builder, and AI caller orchestrated as standalone binaries or pip installs. Record-and-replay modes cache LLM responses keyed by file hashes to save credits during iteration.
The upstream project is no longer maintained as of mid-2025 but remains forkable. Example templates cover Python FastAPI, Go web services, and Java Gradle with jacoco or gocov reporting prerequisites.
GitHub CI preview modes and repo-wide test discovery features are documented for teams experimenting with automated test extension.
Key features
- Coverage-guided test generation
- Cobertura XML validation
- LLM prompt assembly
- CLI and GitHub CI modes
- Record-and-replay LLM cache
- Multi-language template examples
- Binary and pip distributions
- Repo-wide test file scanning
Use cases
- Raising unit test coverage
- CI-backed test suggestions
- Regression guard expansion
- Teaching coverage-driven testing