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-xcoverage 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nosexcover-1.0.11.tar.gz
.
File metadata
- Download URL: nosexcover-1.0.11.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 298c3c655da587f6cab8a666e9f4b150320032431062dea91353988d45c8b883 |
|
MD5 | f32ef4824b4484343e9766b2c376365d |
|
BLAKE2b-256 | 11b32b9e812eb9cb7e60bbfff0a1f581bf411d5b55156e211a4e3580560c8902 |
File details
Details for the file nosexcover-1.0.11-py2.py3-none-any.whl
.
File metadata
- Download URL: nosexcover-1.0.11-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 445de3e7f0b2d1bf0b53ac21aa924870eb2b46cc1aa4cc91629639a606b39177 |
|
MD5 | 2c2eab3906d3995b4b2f300aa617b5eb |
|
BLAKE2b-256 | f5740dfbedcab931df02d9437820014fd6f4b539b3aa64dbb8e7a362fe20343d |