Test Anything Protocol (TAP) tools
tappy is a set of tools for working with the Test Anything Protocol (TAP)
<http://testanything.org/>
_, a line based test protocol for recording test
data in a standard way.
Follow tappy development on GitHub <https://github.com/python-tap/tappy>
.
Developer documentation is on
Read the Docs <https://tappy.readthedocs.io/>
.
TAP version 13
line.pip install tap.py[yaml]
.unittest.expectedFailure
now uses a TODO directive to better align
with the specification.Parser.parse_text
to parse TAP
provided as a string.nose-tap
distribution.pytest-tap
distribution.TAPTestRunner
has a set_header
method
to enable or disable test case header ouput in the TAP stream.tappy
TAP consumer can read a TAP stream
directly from STDIN.tappy
TAP consumer has an alternative, shorter name
of tap
.--tap-files
to achieve the same results.TAPTestRunner
has a set_stream
method to stream all TAP
output directly to an output stream instead of a file.
results in a single output file.nosetests
plugin has an optional --tap-stream
flag to
stream all TAP output directly to an output stream instead of a file.TAPTestRunner
has a set_combined
method to collect all
results in a single output file.nosetests
plugin has an optional --tap-combined
flag to
collect all results in a single output file.TAPTestRunner
has a set_format
method to specify line format.nosetests
plugin has an optional --tap-format
flag to specify
line format.setup.py
to support Debian packaging. Include man page.tappy
command line tool is available as a TAP consumer.Parser
and Loader
are available as APIs for programmatic
handling of TAP files and data.TAPTestRunner
has a set_outdir
method to specify where to store
.tap
files.nosetests
plugin has an optional --tap-outdir
flag to specify
where to store .tap
files.TAPTestRunner
- A test runner for unittest
modules that generates
TAP files.