GithubHelp home page GithubHelp logo

meejah / pytest-tap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from python-tap/pytest-tap

0.0 3.0 0.0 66 KB

Test Anything Protocol (TAP) reporting plugin for pytest

Home Page: http://tappy.readthedocs.io/en/latest/

License: BSD 2-Clause "Simplified" License

Python 100.00%

pytest-tap's Introduction

pytest-tap

PyPI version BSD license Linux status macOS status Windows status 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.

$ py.test --tap-stream
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
1..12

Contributing

First, come talk! File an issue in GitHub and we can discuss your bug/feature/idea. If you are ready to start coding...

pytest-tap uses Pipenv to manage development. The following instructions assume that Pipenv is installed. See the Pipenv install instructions for more details.

After installing Pipenv:

$ git clone [email protected]:python-tap/pytest-tap.git
$ cd pytest-tap
$ pipenv install --dev --ignore-pipfile
$ pipenv shell
$ # Edit some files and run the tests.
$ pytest

Once your feature or bug fix is ready, submit a Pull Request.

...profit! ๐Ÿ’ฐ

pytest-tap's People

Contributors

archfear avatar gregsadetsky avatar mattemagikern avatar mblayman avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.