{"_id":"tap-bail","_rev":"5-ca604034f8e5c142233ee6fd5ad99b5c","name":"tap-bail","description":"Bail out when the first TAP test fails","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"tap-bail","version":"0.0.0","description":"Bail out when the first TAP test fails","repository":{"type":"git","url":"git://github.com/juliangruber/tap-bail"},"license":"MIT","scripts":{"test":"make test"},"bin":{"tap-bail":"bin/tap-bail.js"},"devDependencies":{"tap":"^0.4.8"},"dependencies":{"tap-parser":"^0.4.1"},"bugs":{"url":"https://github.com/juliangruber/tap-bail/issues"},"homepage":"https://github.com/juliangruber/tap-bail","_id":"tap-bail@0.0.0","dist":{"shasum":"aeda9f5739ccf7db26bba002aa12360d73a307f3","tarball":"https://registry.npmjs.org/tap-bail/-/tap-bail-0.0.0.tgz","integrity":"sha512-aBVZy39A3kJ0cVUnGLRECvLFBDQTwpPMG7gN+sJbFeisfTCD63BjOXFgzyM3Q+yd2Gc5JpWJyWrKIoDbd/J5kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfOBW5DoS2poCGhSvbEUOqLHK3bJGZUgP14ip8DA32YgIhANUcTW55oKXZVRv5mZJela6/kGCxYuWWgGga6MRGH92j"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"juliangruber","email":"julian@juliangruber.com"},"maintainers":[{"name":"juliangruber","email":"julian@juliangruber.com"}]},"1.0.0":{"name":"tap-bail","version":"1.0.0","description":"Bail out when the first TAP test fails","repository":{"type":"git","url":"git+https://github.com/juliangruber/tap-bail.git"},"license":"MIT","scripts":{"test":"make test"},"bin":{"tap-bail":"bin/tap-bail.js"},"devDependencies":{"tap":"^0.4.8"},"dependencies":{"tap-parser":"^5.3.3"},"gitHead":"2516ffd4b0c6ab1e58ac5a69a3b3aca544264532","bugs":{"url":"https://github.com/juliangruber/tap-bail/issues"},"homepage":"https://github.com/juliangruber/tap-bail#readme","_id":"tap-bail@1.0.0","_shasum":"c5a8cc71191f037938cd567f97bda3ca9700199a","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"juliangruber","email":"julian@juliangruber.com"},"dist":{"shasum":"c5a8cc71191f037938cd567f97bda3ca9700199a","tarball":"https://registry.npmjs.org/tap-bail/-/tap-bail-1.0.0.tgz","integrity":"sha512-inih83DuemT133asorPtdw9qulOe6r0xDsAPERW2ODURnDt1hxBNl3JfgxEYF4tA3prOu1bdhCIq3y8vZNVKbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmsR3+0uc5FiHe4LeFIFSDqbl48ukncubCe4L8HIee6AiEAktzkFXJ0/SE/Yw2NF45mvKEipIE3FoLXsoGFN9wr4sw="}]},"maintainers":[{"name":"juliangruber","email":"julian@juliangruber.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/tap-bail-1.0.0.tgz_1488543633676_0.5848777268547565"}}},"readme":"\n# tap-bail\n\n  Abort [TAP](http://en.wikipedia.org/wiki/Test_Anything_Protocol) test runners\n  on the first failing assertion.\n\n  Similar to mocha's `--bail`.\n\n  [![build status](https://secure.travis-ci.org/juliangruber/tap-bail.png)](http://travis-ci.org/juliangruber/tap-bail)\n\n## Example\n\n  With tap-bail:\n\n```bash\n$ make test | tap-bail\nTAP version 13\n# test.js\n# TAP version 13\n# success\nnot ok 1 (unnamed assert)\n  ---\n    file:   /Users/julian/pro/tap-bail/test.js\n    line:   5\n    column: 5\n    stack:\n      - getCaller (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-assert.js:418:17)\n      - Function.assert (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-assert.js:21:16)\n      - Test._testAssert [as ok] (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-test.js:87:16)\n      - Test.src (/Users/julian/pro/tap-bail/test.js:5:5)\n      - Test.EventEmitter.emit (events.js:117:20)\n      - Test.emit (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-test.js:104:8)\n      - GlobalHarness.Harness.process (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-harness.js:87:13)\n      - process._tickCallback (node.js:415:13)\n      - Function.Module.runMain (module.js:499:11)\n      - startup (node.js:119:16)\n  ...\n```\n\n  Without tap-bail:\n\n```bash\n$ make test\nTAP version 13\n# test.js\n# TAP version 13\n# success\nnot ok 1 (unnamed assert)\n  ---\n    file:   /Users/julian/pro/tap-bail/test.js\n    line:   5\n    column: 5\n    stack:\n      - getCaller (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-assert.js:418:17)\n      - Function.assert (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-assert.js:21:16)\n      - Test._testAssert [as ok] (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-test.js:87:16)\n      - Test.src (/Users/julian/pro/tap-bail/test.js:5:5)\n      - Test.EventEmitter.emit (events.js:117:20)\n      - Test.emit (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-test.js:104:8)\n      - GlobalHarness.Harness.process (/Users/julian/pro/tap-bail/node_modules/tap/lib/tap-harness.js:87:13)\n      - process._tickCallback (node.js:415:13)\n      - Function.Module.runMain (module.js:499:11)\n      - startup (node.js:119:16)\n  ...\nok 2 should be equal\nok 3 should be equal\n# fail\nok 4 should be equal\nok 5 (unnamed assert)\n# tests 5\n# pass  4\n# fail  1\nok 6 ./test.js\n\n\n1..6\n# tests 6\n# pass  5\n# fail  1\nmake: *** [test] Error 1\n```\n\n## Compatibility\n\n  Since all tap-bail needs is TAP output it works with any language and any\n  TAP producing library.\n\n  When using the node `tap` module, be sure to pass `--tap` in order not to\n  get the abbreviated output:\n\n```bash\n$ tap --tap test.js | tap-bail\n```\n\n## Installation\n\n```bash\n$ npm install -g tap-bail\n```\n\n## License\n\n  MIT\n \n","maintainers":[{"name":"juliangruber","email":"julian@juliangruber.com"}],"time":{"modified":"2022-06-27T03:49:03.167Z","created":"2014-02-23T16:39:59.548Z","0.0.0":"2014-02-23T16:39:59.548Z","1.0.0":"2017-03-03T12:20:34.379Z"},"readmeFilename":"Readme.md","homepage":"https://github.com/juliangruber/tap-bail#readme","repository":{"type":"git","url":"git+https://github.com/juliangruber/tap-bail.git"},"bugs":{"url":"https://github.com/juliangruber/tap-bail/issues"},"license":"MIT"}