tap-dancer
a quick human-readable test-reporter for Tap
Last updated a month ago by spencermountain .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install tap-dancer 
SYNC missed versions from official npm registry.

like tap-dot, but with more information about failures, and where to find them.

based on am-tap-dot by amokrushin. (Thanks!)

image


image

# local
npm i tap-dancer --save-dev

# global
npm i tap-dancer -g

API

const test = require('tape')
const TapDance = require('tap-dancer')

test
  .createStream()
  .pipe(new TapDance())
  .pipe(process.stdout)

Command-line

tape test/index.js | node_modules/.bin/tap-dancer --color

or in package.json,

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

Then run with npm test

Options

-nofail - always return an arror code of 0, even when tests pass node ./tap-test.js | tap-dancer -nofail

-noreport - don't list-out all the mistakes. node ./tap-test.js | tap-dancer -noreport

MIT

Current Tags

  • 0.3.0                                ...           latest (a month ago)

8 Versions

  • 0.3.0                                ...           a month ago
  • 0.2.0                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 12
Dependencies (2)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |