skip to navigation
skip to content

Not Logged In

nosexcover 1.0.10

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

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
 
File Type Py Version Uploaded on Size
nosexcover-1.0.10.tar.gz (md5) Source 2014-03-25 2KB
  • Downloads (All Versions):
  • 3274 downloads in the last day
  • 20058 downloads in the last week
  • 85166 downloads in the last month