0.5.0 • Published 5 years ago

tap-report v0.5.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

tap-report

A tap (test anything protocol) consumer that provides user friendly and informative tap output.

example output of tap-report

Features

  • User friendly assertion messages
  • Line reporting
  • Colors, colors, colors
  • Helpful difference

Built on tap-parser and tested to work with node-tap.

Motivation

I needed a flexible tap reporter that was capable of producing a summary as well as an extensive error report.

Usage

Usage: tap-report [options]

A tap (test anything protocol) consumer that provides user friendly and informative tap output

Options:

  -V, --version  output the version number
  -h, --help     output usage information

Examples:

  Build project
  $ <tap output> | tap-report

API

Can also be consumed programmatically (via streams):

const tap = require('tap');
const tapReport = require('tap-report');
tap.pipe(tapReport());

Inspiration

Contribution

Follows guidelines and conventional commits.

# Install dependencies
$ npm install

# Start auto-refresh development scripts
# $ npm run dev
# $ npm run dev-example
# $ npm run dev-tap

# In case output is modified, generate new snapshots
# $ npm run generate-test-data

# In case output is modified, create new example gif (requires docker and imagemagick)
# $ npm run generate-media

# Run tests
$ npm test
0.5.0

5 years ago

0.4.2

5 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0-alpha.14

6 years ago

0.1.0-alpha.8

6 years ago

0.1.0-alpha.7

6 years ago

0.1.0-alpha.6

6 years ago

0.1.0-alpha.5

6 years ago