am-tap-dot

1.0.1 • Public • Published

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

/am-tap-dot/

    Package Sidebar

    Install

    npm i am-tap-dot

    Weekly Downloads

    7

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • amokrushin