Python tools for working with the Test Anything Protocol (TAP) to bridge Python test suites into TAP ecosystems.
tappy is a Python library and toolset for working with the Test Anything Protocol (TAP), a standardized format for recording test results. It provides producers that convert Python unittest output to TAP format and consumers that parse and analyze TAP files, enabling Python test suites to integrate into larger, multi-language testing environments.
Python developers and testing engineers working in mixed-language environments who need to integrate Python test results into broader TAP-based testing pipelines or continuous integration systems.
tappy fills a gap in the Python ecosystem by providing a comprehensive bridge between Python's native testing tools and the TAP standard, allowing teams to get a holistic view of their system's test results across different programming languages and tools.
Python Test Anything Protocol (TAP) tools
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Serves as Python's bridge to TAP, enabling seamless integration of Python test suites into mixed-language testing environments, as highlighted in the motivation section.
Provides plugins for pytest and nose, allowing easy TAP output generation from popular testing tools without modifying test code, as shown in the installation and producers sections.
Supports the latest TAP specification with optional YAML blocks for enhanced metadata, requiring installation of extra dependencies for full functionality.
Includes both producers (e.g., TAPTestRunner, plugins) and consumers (CLI tools, Python APIs) for complete TAP handling in Python, as detailed in the goals and consumers sections.
Relies on TAP, which is less common than other test reporting formats, potentially limiting ecosystem support and requiring team buy-in for adoption.
For TAP version 13 features like YAML support, optional dependencies must be installed separately, adding steps to setup and maintenance.
TAP is a simple, line-based protocol, so it may not capture all detailed metrics or structured data available from modern test frameworks, restricting report depth.