This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Smart coverage measurement and reporting for py.test test suites.

Test suites are usually structured parallel to (or integrated with) the structure of the code they test. If you ask py.test to run a certain subset of your tests, you shouldn’t have to also tell coverage which subset of your code it should measure coverage on for that run. With pytest-smartcov, you don’t have to.

Prerequisites

pytest-smartcov requires Python 2.7 or higher and coverage 3.6 or higher.

Usage

If pytest-smartcov is installed and you provide a smartcov_paths_hook setting in your pytest.ini, coverage will automatically be measured on all your test runs, unless you provide the --no-cov flag.

Configuration

To use pytest-smartcov, provide a smartcov_paths_hook ini-config setting which is the Python dotted import path to a function. This function should accept as its single parameter the list of test paths specified on a py.test command line, and should return the list of paths on which code coverage will be measured.

Reporting

If 100% of the measured code was covered, pytest-smartcov will output a single line at the end of test run notifying you that you have 100% coverage.

If you have less than 100% coverage on the measured code, pytest-smartcov will output a terminal report including only those files which had less than 100% coverage.

If there was less than 100% overall coverage, pytest-smartcov will also output an HTML report (to the htmlcov/ directory by default, though this can be configured normally in .coveragerc).

CHANGES

0.1 (2014.10.28)

  • Initial working version.
Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytest-smartcov-0.2.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Sep 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting