{"library":"pytest-tap","title":"pytest-tap","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. The current version is 3.5, and it regularly releases new versions to maintain compatibility with updated Python and pytest versions, typically on an irregular cadence.","language":"python","status":"active","last_verified":"Thu Apr 16","install":{"commands":["pip install pytest-tap"],"cli":null},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import pytest\n\n# test_example.py\ndef test_passing_example():\n    assert 1 + 1 == 2\n\ndef test_failing_example():\n    assert 'hello'.upper() == 'WORLD'\n\ndef test_skipped_example():\n    pytest.skip(\"This test is intentionally skipped\")\n\n# To run: pytest --tap test_example.py\n# This will output TAP data to stdout.","lang":"python","description":"Create a test file (e.g., `test_example.py`) and run pytest with the `--tap` flag to see TAP output. The plugin integrates directly with pytest's command-line interface.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}