Skip to main content

A tiny test runner that outputs TAP results to standard output.

Project description

pycotap is a simple Python test runner for unittest that outputs Test Anything Protocol results directly to standard output.

Contrary to other TAP runners for Python, pycotap

  • … prints TAP (and only TAP) to standard output instead of to a separate file, allowing you to pipe it directly to TAP pretty printers and processors (such as the ones listed on the tape page). By piping it to other consumers, you can avoid the need to add specific test runners to your test code. Since the TAP results are printed as they come in, the consumers can directly display results while the tests are run.
  • … only contains a TAP reporter, so no parsers, no frameworks, no dependencies, …
  • … is configurable: you can choose how you want the test output and test result diagnostics to end up in your TAP output (as TAP diagnostics, YAML blocks, or attachments). The defaults are optimized for a Jenkins based flow.

Documentation and examples can be found on the pycotap page.

Project details


Download files

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

Files for pycotap, version 1.2.2
Filename, size File type Python version Upload date Hashes
Filename, size pycotap-1.2.2.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View
Filename, size pycotap-1.2.2-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page