Skip to main content

pytest-tap is a reporting plugin for pytest that outputs Test Anything Protocol (TAP) data. TAP is a line based test protocol for recording test data in a standard way.

Use pytest --tap after installing to get started.

Follow GitHub for more information or to follow this plugin’s development. Additional developer documentation about Python and TAP is on Read the Docs.

Releases

Version 3.6, November 10, 2026

  • Drop support for Python 3.9 and 3.10 (they are end-of-life).

  • Add support for Python 3.14 and 3.15.

  • Fix compatibility with pytest 9.2 when registering the deprecated --tap-stream option.

  • Fix the wheel so that it includes the pytest_tap package.

  • Include conftest.py in the source distribution so downstream packagers can run the test suite from the published archive.

Version 3.5, January 30, 2025

  • Diagnostics now output logs, stdout, stderr for failed tests. Use the standard --show-capture flag to control the output.

  • Diagnostics can display for passing tests using the --tap-log-passing-tests flag.

  • Add support for Python 3.12.

  • Add support for Python 3.13.

  • Drop support for Python 3.8 (it is end-of-life).

Version 3.4, July 15, 2023

  • Deprecate --tap-stream in favor of --tap for streaming mode.

  • When using xdist, report the plan at the beginning of execution.

  • Add support for Python 3.11.

  • Drop support for Python 3.7 (it is end-of-life).

  • Drop support for Python 3.6 (it is end-of-life).

  • Drop support for PyPy.

Version 3.3, October 27, 2021

  • Add support for Python 3.10.

  • Fix bug with help printing when streaming mode is enabled (#59).

  • Drop support for Python 3.5 (it is end-of-life).

  • Remove unmaintained (and likely inaccurate) locale info.

Version 3.2, November 7, 2020

  • Add support for Python 3.8.

  • Add support for Python 3.9.

  • Handle unittest.expectedFailure and pytest.xfail in a way that is more consistent with the TAP specification.

Version 3.1, Released March 25, 2020

  • Fix reporting that was broken by the removal of a deprecated feature in pytest 5.4.

Version 3.0, Released January 28, 2020

  • Drop support for Python 2.

Version 2.5, Released December 26, 2019

  • Last supported version for Python 2.

  • Pin tap.py to a version range that supports Python 2.

Version 2.4, Released October 21, 2019

  • Handle failures that occur from setup. This will catch errors that may happen in fixtures.

  • Drop support for Python 3.4 (it is end-of-life).

  • Add support for Python 3.7.

Version 2.3, Released September 16, 2018

  • Improve xfail handling. Honor strict xfail mode. Use TODO instead of SKIP directive to better align with TAP specification.

  • Output the plan line (1..N) first.

Version 2.2, Released January 9, 2018

  • Update output format to match closer to pytest styling.

  • Drop support for Python 3.3 (it is end-of-life).

Version 2.1, Released August 12, 2017

  • Add support for Python 3.6.

  • Fix crash when running with pytest-xdist (#27).

Version 2.0, Released August 1, 2016

  • Update to tap.py 2.0. This update drops the indirect dependencies on nose and pygments.

  • Improve handling of skips and xfails.

  • Suppress # TAP results for TestCase for streaming. This header makes little sense for pytest’s test function paradigm. Including the header generated extra noise for each function.

  • Drop support for Python 2.6

Version 1.9, Released June 11, 2016

  • Initial release as stand-alone plugin. The version number aligns with tappy.

Metadata

Release files for pytest-tap 3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-tap 3.6
File Size Uploaded Provenance Actions
pytest_tap-3.6.tar.gz 8.3 kB Without provenance Details for pytest_tap-3.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-tap 3.6
File Interpreter ABI Platform Actions
pytest_tap-3.6-py3-none-any.whl Python 3 none any Details for pytest_tap-3.6-py3-none-any.whl

Total release size: 15.0 kB

Release files / pytest_tap-3.6.tar.gz

Download URL pytest_tap-3.6.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eb511bbeea66c2dbd4449ef35d3a8d5dc44255f85229d78f2abc8c1950eaa327
BLAKE2b-256 checksum
How to use checksums
25a646d219596f689e954396bfd9d0b46968f80ce49782b156dd2560d2a969ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / pytest_tap-3.6-py3-none-any.whl

Download URL pytest_tap-3.6-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8587222a8dd6880dfb8f39c7c9d1a3321c5e97d1c0add1a72c96a389e2cfebac
BLAKE2b-256 checksum
How to use checksums
2e8b1c46315b7f48777d79953ba3cdd656b0d9fe9d2d7e52f50bebc97dae1b0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Security for pytest-tap 3.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page