tap-spec

5.0.0last stable release 7 years ago
Complexity Score
Low
Open Issues
11
Dependent Projects
8,268
Weekly Downloadsglobal
35,720

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

tap-spec

Formatted TAP output like Mocha’s spec reporter

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

Dependencies

CVE IssuesActive
0
Scorecards Score
1.70
Test Coverage
No Data
Follows Semver
Yes
Github Stars
285
Dependenciestotal
9
DependenciesOutdated
6
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute tap-spec in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install tap-spec
Processing...
Done

29 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.