Skip to main content

|PyPI package| |Documentation| |Test results| |Test coverage| |Code

Project description

PyPI package Documentation Test results Test coverage Code analysis License

nose2unitth

Convert nose-style XML test reports to UnitTH-compatible XML reports

Example

Installation

pip install nose2unitth

Usage

# convert nose-style reports to UnitTH-style reports
nosetests <package-to-test> --with-xunit --xunit-file=examples/nose.xml

mkdir -p examples/unitth
nose2unitth examples/nose.xml examples/unitth/1
nose2unitth examples/nose.xml examples/unitth/2

junit2html examples/nose.xml examples/unitth/1/index.html
junit2html examples/nose.xml examples/unitth/2/index.html

# generate HTML test report
java \
    -Dunitth.generate.exectimegraphs=true \
    -Dunitth.xml.report.filter= \
    -Dunitth.html.report.path=. \
    -Dunitth.report.dir=examples/html \
    -jar unitth.jar examples/unitth/*

Documentation

Please see the documentation at Read the Docs.

Tests

Running the tests

nose can be used to run the tests:

nosetests tests \
  --with-xunit --xunit-file=test-report.xml \
  --with-coverage --cover-package=nose2unitth

Please note that additional packages are required for testing (see tests/requirements.txt).

License

The example model is released under the MIT license.

Development team

nose2unitth was developed by Jonathan Karr at the Icahn School of Medicine at Mount Sinai in New York, USA.

Questions and comments

Please contact the Jonathan Karr with any questions or comments.

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

nose2unitth-0.0.11.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

nose2unitth-0.0.11-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nose2unitth-0.0.11.tar.gz.

File metadata

File hashes

Hashes for nose2unitth-0.0.11.tar.gz
Algorithm Hash digest
SHA256 065370887fc7b717d1d1fd92bae7d2b64b7a45edb1def1a725e102e16692e85b
MD5 5482774354f908cd75f916d363c788a1
BLAKE2b-256 abcbb8009ffb12d115cbdd9c21767dfec900b20775e962f6615170db4ed56ce9

See more details on using hashes here.

File details

Details for the file nose2unitth-0.0.11-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nose2unitth-0.0.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 81f8a68ac9a83321fb6c6e4e2b25c0382dd03cfbadd463ce28e18dda5c6b25c5
MD5 7a77e4e082d4d95d8d7a5f1757517fdb
BLAKE2b-256 9250324ab6aefb1e290b63046b6c49c0b7be37711a92ad7301359670fc325b28

See more details on using hashes here.

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