Skip to content

amokrushin/am-tap-dot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

am-tap-dot

GitHub license

Human-readable dots style TAP reporter

Passed tests

Passed tests

Failed tests

Failed tests

Install

# local
npm i am-tap-dot -D

# global
npm i am-tap-dot -g

Usage

Streaming

const test = require('tape');
const { amTapDot } = require('am-tap-dot');

test.createStream()
    .pipe(amTapDot())
    .pipe(process.stdout);

CLI

package.json

{
  "name": "module-name",
  "scripts": {
    "test": "node ./test/tap-test.js | am-tap-dot"
  }
}

Then run with npm test

Terminal

tape test/index.js | node_modules/.bin/am-tap-dot

About

Human-readable dots style TAP reporter

Resources

License

Stars

Watchers

Forks

Packages

No packages published