Socket
Book a DemoInstallSign in
Socket

nose2unitth

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nose2unitth

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

0.0.13
pipPyPI
Maintainers
2

|PyPI package| |Documentation| |Test results| |Test coverage| |Code analysis| |License| |Analytics|

nose2unitth

Convert nose <http://nose.readthedocs.io>-style XML test reports to UnitTH <http://junitth.sourceforge.net/>-compatible XML reports

Example

  • nose-style XML report <examples/nose.xml>__
  • UnitTH-style XML report <examples/unitth/1>__
  • UnitTH HTML test history report <https://cdn.rawgit.com/KarrLab/nose2unitth/master/examples/html/index.html>__

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 <http://docs.karrlab.org/nose2unitth>__.

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 <tests/requirements.txt>`__).

License
-------

The example model is released under the `MIT license <LICENSE>`__.

Development team
----------------

``nose2unitth`` was developed by `Jonathan
Karr <http://www.karrlab.org>`__ at the Icahn School of Medicine at
Mount Sinai in New York, USA.

Questions and comments
----------------------

Please contact the `Jonathan Karr <http://www.karrlab.org>`__ with any
questions or comments.

.. |PyPI package| image:: https://img.shields.io/pypi/v/nose2unitth.svg
   :target: https://pypi.python.org/pypi/nose2unitth
.. |Documentation| image:: https://readthedocs.org/projects/nose2unitth/badge/?version=latest
   :target: http://docs.karrlab.org/nose2unitth
.. |Test results| image:: https://circleci.com/gh/KarrLab/nose2unitth.svg?style=shield
   :target: https://circleci.com/gh/KarrLab/nose2unitth
.. |Test coverage| image:: https://coveralls.io/repos/github/KarrLab/nose2unitth/badge.svg
   :target: https://coveralls.io/github/KarrLab/nose2unitth
.. |Code analysis| image:: https://api.codeclimate.com/v1/badges/e3ee777af72076166232/maintainability
   :target: https://codeclimate.com/github/KarrLab/nose2unitth
.. |License| image:: https://img.shields.io/github/license/KarrLab/nose2unitth.svg
   :target: LICENSE
.. |Analytics| image:: https://ga-beacon.appspot.com/UA-86759801-1/nose2unitth/README.md?pixel



Keywords

nose unitth xunit junit

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.