/pytest-subunit

Subunit plugin for pytest

Primary LanguagePythonApache License 2.0Apache-2.0

pytest-subunit

pytest-subunit is a plugin for py.test that generates output in subunit format.

Requirements

Plugin was tested on Python 2.7 and 3.5, and requires:

  • pytest 2.6.4 or newer
  • python-subunit 1.2 or newer

Installation

To install pytest-subunit:

$ pip install pytest-subunit

Then run your tests with subunit output:

$ py.test --subunit