{"_id":"mocha-broken","_rev":"1028-ef14e482fdfca406b81ba6408dd4f18e","name":"mocha-broken","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"mocha-broken","version":"0.0.0","_id":"mocha-broken@0.0.0","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/mocha-broken","bugs":{"url":"https://github.com/segmentio/mocha-broken/issues"},"bin":{"mocha-broken":"index.js"},"dist":{"shasum":"35d33784fe54ace00fe793e1edd74091ac74ae13","tarball":"https://registry.npmjs.org/mocha-broken/-/mocha-broken-0.0.0.tgz","integrity":"sha512-4kgfG0GDAChfsI2wsbktS2chVJfrOK+6Pb67pGjNZhN0zgnxFnO7PFDThltLF5fYqgksE6c8uV17h5vjXpVqvA==","signatures":[{"sig":"MEUCIQDqTs0zDB5DV4WK/p45tzoiiJerGBxNCCnoe7SZY9H3sgIgCflmReF8t6cBAC6WPrz3aMNwPmgnL7CkkQmyHWRZAFI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/mocha-broken","type":"git"},"_npmVersion":"1.4.6","description":"Only run previously broken mocha tests","directories":{},"dependencies":{"mocha":"^1.18.2","split":"^0.3.0","quotemeta":"0.0.0","split-stream":"^0.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org"}},"0.0.1":{"name":"mocha-broken","version":"0.0.1","_id":"mocha-broken@0.0.1","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/mocha-broken","bugs":{"url":"https://github.com/segmentio/mocha-broken/issues"},"bin":{"mocha-broken":"index.js"},"dist":{"shasum":"1206630bf9183eaf1ad57717b61f08becafc77b9","tarball":"https://registry.npmjs.org/mocha-broken/-/mocha-broken-0.0.1.tgz","integrity":"sha512-F10GQxhrEQXexAWvwEBTMvlYfozFcuPcoTHRglNO8EQVSytACMKzucEG94tfbLYPIs4B7b1iEcW8IQWWqVIhpg==","signatures":[{"sig":"MEUCIQCNh/wjKzm+Cx48FwW2XgtWuzY8gCABxXu1fpXj3IDjdQIgZHZD7NVa9To4vI5GGCisP7IBKxbCXFUYRi8xuftVvOA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/mocha-broken","type":"git"},"_npmVersion":"1.4.6","description":"Only run previously broken mocha tests","directories":{},"dependencies":{"mocha":"^1.18.2","split":"^0.3.0","quotemeta":"0.0.0","split-stream":"^0.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org"}},"0.0.2":{"name":"mocha-broken","version":"0.0.2","_id":"mocha-broken@0.0.2","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/mocha-broken","bugs":{"url":"https://github.com/segmentio/mocha-broken/issues"},"bin":{"mocha-broken":"index.js"},"dist":{"shasum":"63f6f50d3973661e7ba449195f3cc101e8536ba9","tarball":"https://registry.npmjs.org/mocha-broken/-/mocha-broken-0.0.2.tgz","integrity":"sha512-Dz0l5Dcs+lJbQtWs9nJGRYW38r6vK4K5hOsUCnbRntcUyXp8DieWP6ICoDVq+BrWTHjUoDxZAeawHUDrAn3Qbg==","signatures":[{"sig":"MEYCIQDfIo8ZPpxTCyLo9uV7clVMyI2ngssEeDJXVooLbQgOvgIhAL1adDbOv60aUbNvB43+9HmyCJkBQ+Vg9y8RxAFWXPnZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/mocha-broken","type":"git"},"_npmVersion":"1.4.6","description":"Only run previously broken mocha tests","directories":{},"dependencies":{"mocha":"^1.18.2","split":"^0.3.0","quotemeta":"0.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org"}},"0.1.0":{"name":"mocha-broken","version":"0.1.0","_id":"mocha-broken@0.1.0","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/mocha-broken","bugs":{"url":"https://github.com/segmentio/mocha-broken/issues"},"bin":{"mocha-broken":"index.js"},"dist":{"shasum":"fc7a89562d2233b1420c49fa185f792acc69d358","tarball":"https://registry.npmjs.org/mocha-broken/-/mocha-broken-0.1.0.tgz","integrity":"sha512-AiV5VoW4cWBgrNbAKxdTQ2Aj76/ooUEIINRFLwqFdWLq82ygv9vhFrDwrGJIEPzzqRk/vyoXVO2oGBJWW8agbQ==","signatures":[{"sig":"MEYCIQD8W2n3tYH8uGZsZ+KhdnXeQGvhXwZ8TU+ebYJkeKqS0QIhAOiktMsgUTNz0vjYMv1kP8++i2mpsybd0EDq9rPpBVft","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/mocha-broken","type":"git"},"_npmVersion":"1.4.6","description":"Only run previously broken mocha tests","directories":{},"dependencies":{"mocha":"^1.18.2","split":"^0.3.0","quotemeta":"0.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org"}},"0.1.1":{"name":"mocha-broken","version":"0.1.1","_id":"mocha-broken@0.1.1","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/mocha-broken","bugs":{"url":"https://github.com/segmentio/mocha-broken/issues"},"bin":{"mocha-broken":"index.js"},"dist":{"shasum":"b5aee0f4bfcc0febf7d6fe16139ba171f6fc391a","tarball":"https://registry.npmjs.org/mocha-broken/-/mocha-broken-0.1.1.tgz","integrity":"sha512-aFxknvlY3jMuqbA/3ckB4qC//adS/y8r8NKKWztGGfA2y8RCC/BqNV190CkaOOueIJ58GKhQco630LMqQ6p5UA==","signatures":[{"sig":"MEYCIQDYikz2IUqPHuJtO6uzFY6y0OFQqkBbPyrwfsZAGj5b2wIhALNDurhZusuf5tuHsvA4/fQqZrcjpZ4xpw8NYx8h/xsQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/mocha-broken","type":"git"},"_npmVersion":"1.3.22","description":"Only run previously broken mocha tests","directories":{},"dependencies":{"mocha":"^1.18.2","split":"^0.3.0","quotemeta":"0.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org"}},"0.2.0":{"name":"mocha-broken","version":"0.2.0","_id":"mocha-broken@0.2.0","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/mocha-broken","bugs":{"url":"https://github.com/segmentio/mocha-broken/issues"},"bin":{"mocha-broken":"index.js"},"dist":{"shasum":"ad6d747592323fd2652908c75269367683c73e68","tarball":"https://registry.npmjs.org/mocha-broken/-/mocha-broken-0.2.0.tgz","integrity":"sha512-oPZlVileUZnHoOSRNOi6UDG7zeHmr83hlTL+VqFkBzvZFds54rEACm6bCBHj2HTZfeqFOC2TmUtOfSdJRZdmEg==","signatures":[{"sig":"MEUCIQDc9/6yCiSDFrVefwG5D3FBHLVztGTGoEcDf4fmje45PQIgGBXNXBNWJnIq2rmM0E+tWe5w8zSDKAc8s7VY5dYmwNk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"ad6d747592323fd2652908c75269367683c73e68","_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"git://github.com/segmentio/mocha-broken","type":"git"},"_npmVersion":"1.4.9","description":"Only run previously broken mocha tests","directories":{},"dependencies":{"mocha":"^1.18.2","split":"^0.3.0","minimist":"^0.1.0","quotemeta":"0.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org"}},"1.0.0":{"name":"mocha-broken","version":"1.0.0","_id":"mocha-broken@1.0.0","maintainers":[{"name":"segment","email":"tj@segment.io"}],"homepage":"https://github.com/segmentio/mocha-broken","bugs":{"url":"https://github.com/segmentio/mocha-broken/issues"},"bin":{"mocha-broken":"index.js"},"dist":{"shasum":"edc362a349423f4d23a0fbff5dc0a7685ba0410e","tarball":"https://registry.npmjs.org/mocha-broken/-/mocha-broken-1.0.0.tgz","integrity":"sha512-bqCcZt/1yl1NYrSxh5LvjXTd6ORr5WoeolP2+pEzH+7aOSsIWCriowS2dWRaN05bZsXFV1guTtieFq5M8qabbw==","signatures":[{"sig":"MEYCIQDkli/9OlUTdh5FNr7pJWuVS8epdU6dh5POLqj2XkIojwIhALcMnSxeJ9ncdz/69UqH4ElIUnJvYNNuLDiV5DGeDKdi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"edc362a349423f4d23a0fbff5dc0a7685ba0410e","gitHead":"1e9376f33ec455df79278e7c15c7d63cfe8bb5d4","scripts":{},"_npmUser":{"name":"segment","email":"tj@segment.io"},"repository":{"url":"https://github.com/segmentio/mocha-broken","type":"git"},"_npmVersion":"1.4.15","description":"Only run previously broken mocha tests","directories":{},"dependencies":{"mocha":"^1.18.2","minimist":"^0.1.0","quotemeta":"0.0.0","tap-parser":"^0.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org"}}},"time":{"created":"2014-04-06T01:12:00.119Z","modified":"2026-06-11T22:37:46.520Z","0.0.0":"2014-04-06T01:12:00.119Z","0.0.1":"2014-04-06T01:12:20.824Z","0.0.2":"2014-04-06T01:15:03.177Z","0.1.0":"2014-04-06T01:53:50.419Z","0.1.1":"2014-04-18T14:46:33.667Z","0.2.0":"2014-06-11T19:32:16.227Z","1.0.0":"2014-06-14T03:20:08.049Z"},"bugs":{"url":"https://github.com/segmentio/mocha-broken/issues"},"homepage":"https://github.com/segmentio/mocha-broken","repository":{"url":"https://github.com/segmentio/mocha-broken","type":"git"},"description":"Only run previously broken mocha tests","maintainers":[{"email":"secure-supply-chain@twilio.com","name":"twilio-supply-chain"},{"email":"tools@segment.com","name":"segmentio"},{"email":"tools+npm@segment.com","name":"segment-admin"}],"readme":"\n# mocha-broken\n\n  Only run previously broken mocha tests. Really useful when individual tests\n  can take a long time.\n\n## Example\n\n  First time you run tests, all tests are executed:\n\n```bash\n$ mocha-broken\n1..2\nok 1 works fine\nnot ok 2 should 500 on req\n  Error: expected 500 \"Internal Server Error\", got 302 \"Moved Temporarily\"\n\n# tests 2\n# pass 1\n# fail 1\n```\n\n  Next time you run tests, only the failing are executed:\n\n```bash\n$ mocha-broken\n1..1\nnot ok 1 should 500 on req\n  Error: expected 500 \"Internal Server Error\", got 302 \"Moved Temporarily\"\n\n# tests 1\n# pass 0\n# fail 1\n```\n\n  Once all tests pass, all are executed again.\n\n## Passing arguments to mocha\n\n  Arguments after `--` are passed to mocha:\n\n```bash\n$ mocha-broken -- --compilers coffee:coffee-script/register\n```\n\n## Installation\n\n```bash\n$ npm install -g mocha-broken\n```\n\n## License\n\n  MIT\n\n","readmeFilename":"README.md"}