pytest-cov

pytest-cov

Python
+
+

Related Products

  • Parasoft
    152 Ratings
    Visit Website
  • MuukTest
    34 Ratings
    Visit Website
  • QA Wolf
    273 Ratings
    Visit Website
  • TrustInSoft Analyzer
    6 Ratings
    Visit Website
  • Daylight
    15 Ratings
    Visit Website
  • Orca Security
    635 Ratings
    Visit Website
  • Healthee
    13 Ratings
    Visit Website
  • Boostero
    65 Ratings
    Visit Website
  • Checksum.ai
    2 Ratings
    Visit Website
  • Admiral
    74 Ratings
    Visit Website

About

Coverage.py is a tool for measuring code coverage of Python programs. It monitors your program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed but was not. Coverage measurement is typically used to gauge the effectiveness of tests. It can show which parts of your code are being exercised by tests, and which are not. Use coverage run to run your test suite and gather data. However you normally run your test suite, and you can run your test runner under coverage. If your test runner command starts with “python”, just replace the initial “python” with “coverage run”. To limit coverage measurement to code in the current directory, and also find files that weren’t executed at all, add the source argument to your coverage command line. By default, it will measure line (statement) coverage. It can also measure branch coverage. It can tell you what tests ran which lines.

About

This plugin produces coverage reports. Compared to just using coverage run this plugin does some extras. Subprocess support, so you can fork or run stuff in a subprocess and will get covered without any fuss. Xdist support, so you can use all of pytest-xdist’s features and still get coverage. Consistent pytest behavior. All features offered by the coverage package should work, either through pytest-cov’s command line options or through coverage’s config file. Under certain scenarios, a stray .pth file may be left around in site packages. The data file is erased at the beginning of testing to ensure clean data for each test run. If you need to combine the coverage of several test runs you can use the --cov-append option to append this coverage data to coverage data from previous test runs. The data file is left at the end of testing so that it is possible to use normal coverage tools to examine it.

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Audience

Any user looking for a solution to measure line and branch coverage to produce test reports

Audience

Developers interested in a solution to produce coverage reports and manage their code

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

API

Offers API Supported

API

Offers API Not Supported

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version Supported
Free Trial Not Supported

Pricing

Free
Free Version Supported
Free Trial Not Supported

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Company Information

Coverage.py
United States
coverage.readthedocs.io/en/7.0.0/

Company Information

Python
United States
pypi.org/project/pytest-cov/

Alternatives

Alternatives

blanket.js

blanket.js

Blanket.js
JCov

JCov

OpenJDK
blanket.js

blanket.js

Blanket.js
Devel::Cover

Devel::Cover

metacpan
Devel::Cover

Devel::Cover

metacpan

Categories

Code Coverage Supported

Categories

Code Coverage Supported

Integrations

Codecov Supported
HTML Supported
Python Supported
XML Supported
pytest Supported
C Supported
Coverage.py Not Supported
Django Supported
JSON Supported
Mako Supported
SQLite Supported
Tidelift Supported
pytest-cov Supported

Integrations

Codecov Supported
HTML Supported
Python Supported
XML Supported
pytest Supported
C Not Supported
Coverage.py Supported
Django Not Supported
JSON Not Supported
Mako Not Supported
SQLite Not Supported
Tidelift Not Supported
pytest-cov Not Supported
Claim Coverage.py and update features and information
Claim Coverage.py and update features and information
Claim pytest-cov and update features and information
Claim pytest-cov and update features and information