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.
$ pip install pytest-tapThis 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_failureThe project welcomes contributions of all kinds. Check out the contributing guidelines for tips on how to get started.