tap-spec

Formatted TAP output like Mocha's spec reporter

MIT 29 个版本
安装
npm install tap-spec
yarn add tap-spec
pnpm add tap-spec
bun add tap-spec
README

tap-spec NPM version NPM download count

Formatted TAP output like Mocha's spec reporter

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

Install

npm install tap-spec --save-dev

Usage

Streaming

var test = require('tape');
var tapSpec = require('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
版本列表
5.0.0 2018-06-05
4.1.2 2018-05-29
4.1.1 2015-11-21
4.1.0 2015-08-20
4.0.2 2015-06-23
4.0.1 2015-06-23
4.0.0 2015-05-29
3.0.0 2015-04-02
2.2.2 2015-02-25
2.2.1 2015-02-06
2.2.0 2015-01-19
2.1.2 2014-12-15
2.1.1 2014-12-01
2.1.0 2014-11-21
2.0.0 2014-11-20
1.0.1 2014-10-17
1.0.0 2014-09-16
0.2.1 2014-08-19
0.2.0 2014-05-19
0.1.9 2014-04-16
0.1.8 2014-03-27
0.1.7 2014-03-25
0.1.6 2014-03-19
0.1.5 2014-03-15
0.1.4 2014-03-05
0.1.3 2014-01-04
0.1.2 2014-01-03
0.1.1 2014-01-03
0.0.1 2014-01-02