Skip to main content

Extends nose.plugins.cover to add Cobertura-style XML reports

Project description

nose-xmlcover

A companion to the built-in nose.plugins.cover, this plugin will write out an XML coverage report to a file named coverage.xml.

It will honor all the options you pass to the Nose coverage plugin, especially –cover-package.

Usage

You can not use both –with-xcover and –with-coverage. Using –with-xcover implies –with-coverage

As of nose-xcover 1.0.6 –with-xcoverage provides all the functionality of the built-in coverage plugin in addition to Cobertura-style output:

#nosetests --with-xcoverage {{ coverage options }}
nosetests --with-xcoverage --cover-package=myapp --cover-tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nosexcover-1.0.6.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page