A tap (test anything protocol) consumer that provides user friendly and informative tap output.
- User friendly assertion messages
- Line reporting
- Colors, colors, colors
- Helpful difference
Built on tap-parser and tested to work with node-tap.
I needed a flexible tap reporter that was capable of producing a summary as well as an extensive error report.
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
Can also be consumed programmatically (via streams):
const tap = require('tap');
const tapReport = require('tap-report');
tap.pipe(tapReport());
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