Coverage Report
Learn how to generate coverage reports using Qodo Cover to enhance your code quality, streamline testing, and ensure better project results.
Qodo Cover analyzes your code to pinpoint gaps in existing test coverage. It then ensures that every generated or enhanced test adds meaningful value, avoiding redundant or unnecessary tests while improving overall code quality.
Coverage reports provide insights for developers to track progress and understand the impact of new tests.
Get a Coverage Report
Install Qodo Cover on your existing project
venv
:
If your project doesn't have a
pyproject.toml
file, create one:
Create a branch in your repository.
cd
to your repository root directory.Run the following command:
Alternatively, if you dont want to use
poetry
, replacepoetry run cover-agent-full-repo
with:
Additional Configuration Options:
--test-file [relative path]
Qodo Cover will extend tests in the provided file only.--test-folder [relative path]
Qodo Cover will automatically extend only test files in the provided folder.--max-test-files-allowed-to-analyze
The maximum number of test files to analyze. Default is 20.--look-for-oldest-unchanged-test-files
Qodo Cover will sort the test files by the last modified date and analyze the oldest ones first. Use this option to find the test files that are most likely to be outdated, and for multiple runs. Default is False.
Last updated