Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fork of nose.plugins.cover that enables XML output (for use with Hudson, e.g.)
Python
Branch: master
Failed to load latest commit information.
nosexcover Merge pull request #22 from msabramo/better_test
.gitignore Add support for tox (http://tox.testrun.org/)
.travis.yml Add .travis.yml for Travis CI (http://travis-ci.org/)
LICENSE.txt Added license
README.rst Documented --xcoverage-file option
setup.py
tox.ini Add support for tox (http://tox.testrun.org/)

README.rst

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

If you want to change the name of the output file you can use --xcoverage-file=FILE (--cover-xml-file from coverage won't work)

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
Something went wrong with that request. Please try again.