Subunit output adapter for nose
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
tests
.gitignore
NEWS
README.md
pylintrc
setup.py
sunit.py
warning.py

README.md

Nose-Subunit

This nose plugin changes the default output to subunit format. This can be used along with buildbot to have better reports.

Installation

nose-subunit apparently depends on both nosetests and subunit.

The following command would install nose-subunit and all its dependencies:

easy_install nose-subunit

nose-subunit can also be downloaded manually from pypi or github

Usage

Enable this plugin with --with-subunit. This plugin is known to work with following builtin nose plugins:

  • skip plugin
  • multiprocess plugin
  • failuredetail plugin
  • stopOnFailure builtin feature (enabled by -x/--stop)
  • testid plugin
  • collectonly plugin: progress won't be reported if collectonly is enabled

The following plugins are known to conflict with subunit plugin:

  • None

Nose plugins not mentioned here are not tested by the author. Please feel free to report your experience about using nose-subunit with other nose plugins.

UnitTest

under the root of nose-subunit, run

nosetests --exe