Skip to main content

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

Project description

PyPI package Documentation Test results Test coverage Code analysis License Analytics

nose2unitth

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

Example

Installation

  • Latest release from PyPI pip install nose2unitth

  • Latest revision from GitHub pip install git+https://github.com/KarrLab/nose2unitth.git#egg=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.13.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

nose2unitth-0.0.13-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: nose2unitth-0.0.13.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.6.3

File hashes

Hashes for nose2unitth-0.0.13.tar.gz
Algorithm Hash digest
SHA256 08cc795d985c67f2ba3b05d6cb06b41cfbd110935424dd239db673e5dac92415
MD5 d39a558faf66012b1e8ddc9faed78f02
BLAKE2b-256 bc17f12d30007ebad81cd0895d580ab3190ff89470f392ac3982f2f46fb138b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nose2unitth-0.0.13-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.6.3

File hashes

Hashes for nose2unitth-0.0.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 23d59b3d637819d8bab6ec4cef789920e2fc81441e87d5c519977bca9a3f5ec4
MD5 0c992d416eab3541ab345c74628c5e68
BLAKE2b-256 2dcbcb8166183e3836003c99f4e9f64723bd76c496ff85300fc14bb2befd3e58

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