Skip to content

randomgoods/tap-spec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tap-spec

Formatted TAP output like Mocha's spec reporter

Forked from https://github.com/scottcorgan/tap-spec

iterm - 2 bash - may 29 2015 at 10 17 am screen shot

Install

npm install @randomgoods/tap-spec --save-dev

Usage

Streaming

var test = require('tape');
var tapSpec = require('@randomgoods/tap-spec');

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

CLI

package.json

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

Then run with npm test

Terminal

tape test/index.js | node_modules/.bin/tap-spec

Testling

npm install testling -g
testling test/index.js | node_modules/.bin/tap-spec

License

MIT (c) 2014 Scott Corgan, 2021 - 2023 randomgoods and contributors

About

Formatted TAP output like Mocha's spec reporter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%