pytest-cov Description
This plugin generates detailed coverage reports that offer more functionality compared to merely using coverage run. It includes support for subprocess execution, allowing you to fork or run tasks in a subprocess while still obtaining coverage seamlessly. Additionally, it integrates with xdist, enabling the use of all pytest-xdist features without sacrificing coverage reporting. The plugin maintains consistent behavior with pytest, ensuring that all functionalities provided by the coverage package are accessible either via pytest-cov's command line options or through coverage's configuration file. In rare cases, a stray .pth file might remain in the site packages after execution. To guarantee that each test run starts with clean data, the data file is cleared at the start of testing. If you wish to merge coverage results from multiple test runs, you can utilize the --cov-append option to add this data to that of previous runs. Furthermore, the data file is retained at the conclusion of testing, allowing users to leverage standard coverage tools for further analysis of the results. This additional functionality enhances the overall user experience by providing better management of coverage data throughout the testing process.
Pricing
Integrations
Company Details
Product Details
pytest-cov Features and Options
pytest-cov User Reviews
Write a Review- Previous
- Next