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

Pricing Starts At:
Free
Free Version:
Yes

Integrations

Reviews

Total
ease
features
design
support

No User Reviews. Be the first to provide a review:

Write a Review

Company Details

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

Media

pytest-cov Screenshot 1
Recommended Products
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free

Product Details

Platforms
Windows
Mac
Linux
Types of Training
Training Docs
Customer Support
Online Support

pytest-cov Features and Options

pytest-cov User Reviews

Write a Review
  • Previous
  • Next