+
Skip to content

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

Notifications You must be signed in to change notification settings

alajmo/tap-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载