Skip to main content

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

Project description

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/*

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.3.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

nose2unitth-0.0.3-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: nose2unitth-0.0.3.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nose2unitth-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6d664141ccf9b9fd234c4fe91b6caf6e0baf2e6dabcbdb1343dcfce25ff995e5
MD5 cbd0bfe5ac6ce772f7658545b7a55d94
BLAKE2b-256 027e3c8e260654235bd4d8c8d4d5644e7210e5374b9b8e48da8f6ba4441a80e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nose2unitth-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d4ee40cc1a2288c53f88a584505a0952ce8523076e37c7ea2c44ebd9c929a908
MD5 319a06a252949c56aea1cf1363604882
BLAKE2b-256 d918cbfb95737b0912b39e10667e7bc531f53db699ade616620a37362a3d04b4

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