1.0.1 • Published 7 years ago

am-tap-dot v1.0.1

Weekly downloads
13
License
MIT
Repository
github
Last release
7 years ago

am-tap-dot

GitHub license

Human-readable dots style TAP reporter

Passed 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