What is pytest-cov?

This plugin produces comprehensive coverage reports that surpass the basic capabilities of using coverage run alone. It offers subprocess execution support, enabling users to fork or run tasks in a separate subprocess while still collecting coverage data effortlessly. Furthermore, it seamlessly integrates with xdist, allowing users to access all features of pytest-xdist without compromising coverage reporting. The plugin ensures compatibility with pytest, providing consistent access to all functionalities of the coverage package, whether through pytest-cov's command line options or the coverage configuration file. Occasionally, a stray .pth file may linger in the site packages post-execution. To ensure a fresh start for each test run, the data file is cleared before testing begins. If you need to merge coverage results from different test runs, you can utilize the --cov-append option to incorporate this information into previous results. At the end of testing, the data file is preserved, enabling users to make use of standard coverage tools for additional analysis of their findings. This extra functionality not only improves the overall user experience but also provides enhanced control over coverage data management throughout the testing lifecycle, ultimately leading to more efficient testing practices.

Pricing

Price Starts At:
Free
Free Version:
Free Version available.

Screenshots and Video

pytest-cov Screenshot 1

Company Facts

Company Name:
Python
Company Location:
United States
Company Website:
pypi.org/project/pytest-cov/

Product Details

Deployment
Windows
Mac
Linux
Training Options
Documentation Hub
Support
Web-Based Support

Product Details

Target Company Sizes
Individual
1-10
11-50
51-200
201-500
501-1000
1001-5000
5001-10000
10001+
Target Organization Types
Mid Size Business
Small Business
Enterprise
Freelance
Nonprofit
Government
Startup
Supported Languages
English

pytest-cov Categories and Features