nose2unitth


Namenose2unitth JSON
Version 0.0.12 PyPI version JSON
download
home_pagehttps://github.com/KarrLab/nose2unitth
SummaryConvert nose-style test reports to UnitTH-style test reports
upload_time2016-11-02 14:28:39
maintainer
docs_urlNone
authorJonathan Karr
requires_python
licenseMIT
keywords nose unitth xunit junit
VCS
bugtrack_url
requirements cement
Travis-CI No Travis.
coveralls test coverage
            |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
------------

::

    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 <http://nose2unitth.readthedocs.io>`__.

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://nose2unitth.readthedocs.org
.. |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://codeclimate.com/github/KarrLab/nose2unitth/badges/gpa.svg
   :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

            

Raw data

            {
    "_id": null,
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "cheesecake_code_kwalitee_id": null,
    "keywords": "nose unitth xunit junit",
    "upload_time": "2016-11-02 14:28:39",
    "requirements": [
        {
            "name": "cement",
            "specs": []
        }
    ],
    "author": "Jonathan Karr",
    "home_page": "https://github.com/KarrLab/nose2unitth",
    "github_user": "KarrLab",
    "download_url": "https://pypi.python.org/packages/5c/b6/01b638c749b7c4f8ccb412206c1f035520c959102e69ceaf317d2a0f01d6/nose2unitth-0.0.12.tar.gz",
    "platform": "UNKNOWN",
    "version": "0.0.12",
    "cheesecake_documentation_id": null,
    "description": "|PyPI package| |Documentation| |Test results| |Test coverage| |Code\nanalysis| |License| |Analytics|\n\nnose2unitth\n===========\n\nConvert `nose <http://nose.readthedocs.io>`__-style XML test reports to\n`UnitTH <http://junitth.sourceforge.net/>`__-compatible XML reports\n\nExample\n-------\n\n-  `nose-style XML report <examples/nose.xml>`__\n-  `UnitTH-style XML report <examples/unitth/1>`__\n-  `UnitTH HTML test history\n   report <https://cdn.rawgit.com/KarrLab/nose2unitth/master/examples/html/index.html>`__\n\nInstallation\n------------\n\n::\n\n    pip install nose2unitth\n\nUsage\n-----\n\n::\n\n    # convert nose-style reports to UnitTH-style reports\n    nosetests <package-to-test> --with-xunit --xunit-file=examples/nose.xml\n\n    mkdir -p examples/unitth\n    nose2unitth examples/nose.xml examples/unitth/1\n    nose2unitth examples/nose.xml examples/unitth/2\n\n    junit2html examples/nose.xml examples/unitth/1/index.html\n    junit2html examples/nose.xml examples/unitth/2/index.html\n\n    # generate HTML test report\n    java \\\n        -Dunitth.generate.exectimegraphs=true \\\n        -Dunitth.xml.report.filter= \\\n        -Dunitth.html.report.path=. \\\n        -Dunitth.report.dir=examples/html \\\n        -jar unitth.jar examples/unitth/*\n\nDocumentation\n-------------\n\nPlease see the documentation at `Read the\nDocs <http://nose2unitth.readthedocs.io>`__.\n\nTests\n-----\n\nRunning the tests\n~~~~~~~~~~~~~~~~~\n\n``nose`` can be used to run the tests:\n\n::\n\n    nosetests tests \\\n      --with-xunit --xunit-file=test-report.xml \\\n      --with-coverage --cover-package=nose2unitth\n\nPlease note that additional packages are required for testing (see\n`tests/requirements.txt <tests/requirements.txt>`__).\n\nLicense\n-------\n\nThe example model is released under the `MIT license <LICENSE>`__.\n\nDevelopment team\n----------------\n\n``nose2unitth`` was developed by `Jonathan\nKarr <http://www.karrlab.org>`__ at the Icahn School of Medicine at\nMount Sinai in New York, USA.\n\nQuestions and comments\n----------------------\n\nPlease contact the `Jonathan Karr <http://www.karrlab.org>`__ with any\nquestions or comments.\n\n.. |PyPI package| image:: https://img.shields.io/pypi/v/nose2unitth.svg\n   :target: https://pypi.python.org/pypi/nose2unitth\n.. |Documentation| image:: https://readthedocs.org/projects/nose2unitth/badge/?version=latest\n   :target: http://nose2unitth.readthedocs.org\n.. |Test results| image:: https://circleci.com/gh/KarrLab/nose2unitth.svg?style=shield\n   :target: https://circleci.com/gh/KarrLab/nose2unitth\n.. |Test coverage| image:: https://coveralls.io/repos/github/KarrLab/nose2unitth/badge.svg\n   :target: https://coveralls.io/github/KarrLab/nose2unitth\n.. |Code analysis| image:: https://codeclimate.com/github/KarrLab/nose2unitth/badges/gpa.svg\n   :target: https://codeclimate.com/github/KarrLab/nose2unitth\n.. |License| image:: https://img.shields.io/github/license/KarrLab/nose2unitth.svg\n   :target: LICENSE\n.. |Analytics| image:: https://ga-beacon.appspot.com/UA-86759801-1/nose2unitth/README.md?pixel\n",
    "lcname": "nose2unitth",
    "name": "nose2unitth",
    "github": true,
    "bugtrack_url": null,
    "license": "MIT",
    "travis_ci": false,
    "github_project": "nose2unitth",
    "summary": "Convert nose-style test reports to UnitTH-style test reports",
    "split_keywords": [
        "nose",
        "unitth",
        "xunit",
        "junit"
    ],
    "author_email": "jonrkarr@gmail.com",
    "urls": [
        {
            "has_sig": false,
            "upload_time": "2016-11-02T14:28:36",
            "comment_text": "",
            "python_version": "py2.py3",
            "url": "https://pypi.python.org/packages/be/a5/37c7fc7ca40a806224259037a8662dbd31dc57adc7e7c069d0949d064505/nose2unitth-0.0.12-py2.py3-none-any.whl",
            "md5_digest": "010ce0507848ad43e11719a67867d7dc",
            "downloads": 0,
            "filename": "nose2unitth-0.0.12-py2.py3-none-any.whl",
            "packagetype": "bdist_wheel",
            "path": "be/a5/37c7fc7ca40a806224259037a8662dbd31dc57adc7e7c069d0949d064505/nose2unitth-0.0.12-py2.py3-none-any.whl",
            "size": 4904
        },
        {
            "has_sig": false,
            "upload_time": "2016-11-02T14:28:39",
            "comment_text": "",
            "python_version": "source",
            "url": "https://pypi.python.org/packages/5c/b6/01b638c749b7c4f8ccb412206c1f035520c959102e69ceaf317d2a0f01d6/nose2unitth-0.0.12.tar.gz",
            "md5_digest": "751a39a4e639763dd7ee5a2558d3418d",
            "downloads": 0,
            "filename": "nose2unitth-0.0.12.tar.gz",
            "packagetype": "sdist",
            "path": "5c/b6/01b638c749b7c4f8ccb412206c1f035520c959102e69ceaf317d2a0f01d6/nose2unitth-0.0.12.tar.gz",
            "size": 4931
        }
    ],
    "cheesecake_installability_id": null,
    "coveralls": true
}
        
Elapsed time: 0.02243s