Skip to content

spencermountain/tap-dancer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

test-reporter for TAP with some fancy things

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%