Skip to main content

Test Anything Protocol (TAP) reporting plugin for pytest

Project description

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.

Follow development on GitHub. Developer documentation is on Read the Docs.

Releases

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-tap-3.3.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

pytest_tap-3.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pytest-tap-3.3.tar.gz.

File metadata

  • Download URL: pytest-tap-3.3.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for pytest-tap-3.3.tar.gz
Algorithm Hash digest
SHA256 5f0919a147cf0396b2f10d64d365a0bf8062e06543e93c675c9d37f5605e983c
MD5 6df377191b5392dffa9ed5e1d7086f36
BLAKE2b-256 fc65df1488188d6a43525460e829ff887cf0330e2c0de6a806765925bdf37d30

See more details on using hashes here.

File details

Details for the file pytest_tap-3.3-py3-none-any.whl.

File metadata

  • Download URL: pytest_tap-3.3-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for pytest_tap-3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4fbbc0e090c2e94f6199bee4e4f68ab3c5e176b37a72a589ad84e0f72a2fce55
MD5 d5414c11116a6af1f72f993ee394a80f
BLAKE2b-256 37eadd30c54acefbafa61dad7a0ca820b233eca6d66a075d1baaca736f097283

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page