Skip to content

python-tap/pytest-tap

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pytest-tap

PyPI version BSD license Coverage

Test Anything Protocol (TAP) reporting plugin for pytest

The plugin outputs test results as TAP data in a variety of formats. See the tappy documentation for more information on usage.

Install

$ pip install pytest-tap

Usage

This is an example usage from the plugin's test suite.

$ pytest --tap-stream
1..12
ok 1 - TestPlugin.test_generates_reports_for_combined
ok 2 - TestPlugin.test_generates_reports_for_files
ok 3 - TestPlugin.test_generates_reports_for_stream
ok 4 - TestPlugin.test_includes_options
ok 5 - TestPlugin.test_skips_reporting_with_no_output_option
ok 6 - TestPlugin.test_track_when_call_report
ok 7 - TestPlugin.test_tracker_combined_set
ok 8 - TestPlugin.test_tracker_outdir_set
ok 9 - TestPlugin.test_tracker_stream_set
ok 10 - TestPlugin.test_tracks_not_ok
ok 11 - TestPlugin.test_tracks_ok
ok 12 - TestPlugin.test_tracks_skip

Contributing

The project welcomes contributions of all kinds. Check out the contributing guidelines for tips on how to get started.

About

Test Anything Protocol (TAP) reporting plugin for pytest

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages