Skip to content

Test Anything Protocol (TAP) reporting plugin for pytest

License

Notifications You must be signed in to change notification settings

sthagen/python-tap-pytest-tap

pytest-tap

PyPI versionBSD license|coverage|

Test Anything Protocol (TAP) reporting plugin for pytest

The plugin outputs test results as TAP data in a variety of formats. See the tappy documentation for more information on usage.

Install

$ pip install pytest-tap

Usage

This is an example usage from the plugin's test suite.

$ pytest --tap1..12ok 1 tests/test_help.py::test_includes_optionsok 2 tests/test_help.py::test_handle_help_with_streamok 3 tests/test_plugin.py::test_streamok 4 tests/test_plugin.py::test_stream_simple_flagok 5 tests/test_plugin.py::test_combinedok 6 tests/test_plugin.py::test_filesok 7 tests/test_plugin.py::test_outdirok 8 tests/test_plugin.py::test_xfail_no_reasonok 9 tests/test_plugin.py::test_xfail_nonstrictok 10 tests/test_plugin.py::test_xfail_strictok 11 tests/test_plugin.py::test_unittest_expected_failureok 12 tests/test_plugin.py::test_setup_failure

Contributing

The project welcomes contributions of all kinds. Check out the contributing guidelines for tips on how to get started.

About

Test Anything Protocol (TAP) reporting plugin for pytest

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Languages

  • Python99.8%
  • Makefile0.2%