Metadata-Version: 2.1
Name: TAP-Producer
Version: 1.0.2
Summary: Test Anything Protocol producer API for Python.
Home-page: https://www.oziproject.dev
Author: Eden Ross Duff MSc
Author-email: help@oziproject.dev
License: Apache-2.0 WITH LLVM-exception
Download-URL: https://github.com/OZI-Project/TAP-Producer/archive/refs/tags/1.0.2.tar.gz
Project-URL: Documentation, https://docs.oziproject.dev/en/stable/tap_producer.html
Project-URL: Source, https://github.com/OZI-Project/TAP-Producer
Requires-Python: >=3.10, <3.14
Keywords: TAP
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Testing
Classifier: Typing :: Typed
Classifier: Environment :: Console
Description-Content-Type: text/x-rst
Requires-Dist: PyYAML~=6.0
Requires-Dist: typing_extensions;python_version<"3.11"


.. OZI
  Classifier: License-Expression :: Apache-2.0 WITH LLVM-exception
  Classifier: License-File :: LICENSE.txt

..
  Part of TAP-Producer.
  See LICENSE.txt in the project root for details.

============
TAP-Producer
============

Producer for Test Anything Protocol output in Python.
Automatically counts test points at call time for TAP version 12, 13, and 14.
TAP version 12 supports plan, ok, not ok, diagnostic, and bail out functionality.
TAP version 13 supports the aforementioned as well as subtest context manager
and YAML diagnostic output.
TAP version 14 supports all prior version features but separates the API
for comments output from YAML diagnostics.

TAP-Producer also includes an end convenience method as well as two decorators.
A suppress context manager for suppressing diagnostic and bail out messages;
a strict context manager for raising not ok test cases to Python errors.

Licensed Apache-2.0 WITH LLVM-exception, see LICENSE.txt for more information.

.. image:: https://raw.githubusercontent.com/sigstore/community/main/artwork/badge/sigstore_codesigned_purple.png
 :align: right
 :height: 140
 :target: https://www.sigstore.dev/
