pytest-cov

pytest-cov

Python
+
+

Related Products

  • MuukTest
    29 Ratings
    Visit Website
  • Sahi Pro
    60 Ratings
    Visit Website
  • Parasoft
    125 Ratings
    Visit Website
  • Boozang
    15 Ratings
    Visit Website
  • Windsurf Editor
    137 Ratings
    Visit Website
  • TrustInSoft Analyzer
    6 Ratings
    Visit Website
  • Wiz
    1,052 Ratings
    Visit Website
  • NeoLoad
    369 Ratings
    Visit Website
  • Twilio
    1,298 Ratings
    Visit Website
  • Adaptive Security
    33 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
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Platforms Supported

Windows
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

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
24/7 Live Support
Online

Support

Phone Support
24/7 Live Support
Online

API

Offers API

API

Offers API

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version
Free Trial

Pricing

Free
Free Version
Free Trial

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
Webinars
Live Online
In Person

Training

Documentation
Webinars
Live Online
In Person

Company Information

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

Company Information

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

Alternatives

froglogic Coco

froglogic Coco

froglogic

Alternatives

JCov

JCov

OpenJDK
blanket.js

blanket.js

Blanket.js
Devel::Cover

Devel::Cover

metacpan

Categories

Categories

Integrations

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

Integrations

Codecov
HTML
Python
XML
pytest
C
Coverage.py
Django
JSON
Mako
SQLite
Tidelift
pytest-cov
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