Gathering detailed insights and metrics for tap-bail
Gathering detailed insights and metrics for tap-bail
Gathering detailed insights and metrics for tap-bail
Gathering detailed insights and metrics for tap-bail
npm install tap-bail
Typescript
Module System
Node Version
NPM Version
90.1
Supply Chain
99.4
Quality
73.7
Maintenance
100
Vulnerability
100
License
JavaScript (96.41%)
Makefile (3.59%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
17 Stars
9 Commits
4 Forks
2 Watchers
2 Branches
2 Contributors
Updated on Jan 28, 2024
Latest Version
1.0.0
Package Id
tap-bail@1.0.0
Size
1.75 kB
NPM Version
3.10.9
Node Version
7.2.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
Abort TAP test runners on the first failing assertion.
Similar to mocha's --bail
.
With tap-bail:
1$ make test | tap-bail 2TAP version 13 3# test.js 4# TAP version 13 5# success 6not ok 1 (unnamed assert) 7 --- 8 file: /Users/julian/pro/tap-bail/test.js 9 line: 5 10 column: 5 11 stack: 12 - getCaller (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-assert.js:418:17) 13 - Function.assert (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-assert.js:21:16) 14 - Test._testAssert [as ok] (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-test.js:87:16) 15 - Test.src (/Users/julian/pro/tap-bail/test.js:5:5) 16 - Test.EventEmitter.emit (events.js:117:20) 17 - Test.emit (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-test.js:104:8) 18 - GlobalHarness.Harness.process (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-harness.js:87:13) 19 - process._tickCallback (node.js:415:13) 20 - Function.Module.runMain (module.js:499:11) 21 - startup (node.js:119:16) 22 ...
Without tap-bail:
1$ make test 2TAP version 13 3# test.js 4# TAP version 13 5# success 6not ok 1 (unnamed assert) 7 --- 8 file: /Users/julian/pro/tap-bail/test.js 9 line: 5 10 column: 5 11 stack: 12 - getCaller (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-assert.js:418:17) 13 - Function.assert (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-assert.js:21:16) 14 - Test._testAssert [as ok] (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-test.js:87:16) 15 - Test.src (/Users/julian/pro/tap-bail/test.js:5:5) 16 - Test.EventEmitter.emit (events.js:117:20) 17 - Test.emit (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-test.js:104:8) 18 - GlobalHarness.Harness.process (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-harness.js:87:13) 19 - process._tickCallback (node.js:415:13) 20 - Function.Module.runMain (module.js:499:11) 21 - startup (node.js:119:16) 22 ... 23ok 2 should be equal 24ok 3 should be equal 25# fail 26ok 4 should be equal 27ok 5 (unnamed assert) 28# tests 5 29# pass 4 30# fail 1 31ok 6 ./test.js 32 33 341..6 35# tests 6 36# pass 5 37# fail 1 38make: *** [test] Error 1
Since all tap-bail needs is TAP output it works with any language and any TAP producing library.
When using the node tap
module, be sure to pass --tap
in order not to
get the abbreviated output:
1$ tap --tap test.js | tap-bail
1$ npm install -g tap-bail
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 1/8 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More