#tap #command-line #anything #stream #protocols #emit #testing

app tapper

Command-line Test Anything Protocol (TAP) generator

4 releases

0.1.3 Oct 2, 2020
0.1.2 May 4, 2020
0.1.1 Oct 25, 2019
0.1.0 Oct 25, 2019

#16 in #emit

Apache-2.0

7KB
111 lines

tapper: Emitting TAP from the command line

If you're anything like me, you love TAP and wish that more things supported it. If this is the case, then tapper is for you.

This tool allows you to emit TAP streams from things like shell scripts. For example, the following Bash script:

[bash] .... #!/usr/bin/env bash

set -e

tapper plan --from 1 --to 2 tapper test pass --number 1 --message "This is a passing test." tapper test fail --number 2 --message "This is a failing test." ....

The above would produce a TAP stream with a proper plan line followed by two tests, one passing and one failing.

Installation

Go ahead and install it with cargo install tapper.

You can upgrade it with cargo install tapper --force.

Dependencies

~470KB