Coder Social home page Coder Social logo

arewm / tappy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from python-tap/tappy

0.0 1.0 0.0 507 KB

Python Test Anything Protocol (TAP) tools

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

License: BSD 2-Clause "Simplified" License

Python 100.00%

tappy's Introduction

tappy

PyPI version BSD license Linux status OS X status Windows status Coverage

TAP logo

tappy is a set of tools for working with the Test Anything Protocol (TAP) in Python. TAP is a line based test protocol for recording test data in a standard way.

Full documentation for tappy is at Read the Docs. The information below provides a synopsis of what tappy supplies.

For the curious: tappy sounds like "happy."

If you find tappy useful, please consider starring the repository to show a kindness and help others discover something valuable. Thanks!

Installation

tappy is available for download from PyPI. tappy is currently supported on Python 2.7, 3.4, 3.5, 3.6, and PyPy. It is continuously tested on Linux, OS X, and Windows.

$ pip install tap.py

For testing with pytest, you only need to install pytest-tap.

$ pip install pytest-tap

For testing with nose, you only need to install nose-tap.

$ pip install nose-tap

Motivation

Some projects have mixed programming environments with many programming languages and tools. Because of TAP's simplicity, it can function as a lingua franca for testing. When every testing tool can create TAP, a team can get a holistic view of their system. Python did not have a bridge from unittest to TAP so it was difficult to integrate a Python test suite into a larger TAP ecosystem.

tappy is Python's bridge to TAP.

TAP streaming demo

Goals

  1. Provide TAP Producers which translate Python's unittest into TAP.
  2. Provide a TAP Consumer which reads TAP and provides a programmatic API in Python or generates summary results.
  3. Provide a command line interface for reading TAP.

Producers

  • TAPTestRunner - This subclass of unittest.TextTestRunner provides all the functionality of TextTestRunner and generates TAP files.
  • tappy for nose - nose-tap provides a plugin for the nose testing tool.
  • tappy for pytest - pytest-tap provides a plugin for the pytest testing tool.

Consumers

  • tappy - A command line tool for processing TAP files.
  • Loader and Parser - Python APIs for handling of TAP files and data.

Contributing

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

tappy's People

Contributors

arewm avatar cans avatar datagrok avatar mark-e-hamilton avatar mblayman avatar msabramo avatar

Watchers

 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.