jasmine-bail-fast

0.0.1 • Public • Published

jasmine-bail-fast

Bail after first test failure.

jasmine.getEnv().bailFast();

Jasmine-bail-fast augments jasmine.Env with a single method, bailFast. Call bailFast to tell jasmine to filter out all tests after the first failure.

Eventually this method should make it to jasmine core, and show up as a flag in jasmine-node. Check out the discussion on the jasmine-dev group.

With jasmine-node

npm install jasmine-bail-fast

Then before your first spec:

require('jasmine-bail-fast');
...
jasmine.getEnv().bailFast();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1,614
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1,614
  • 0.0.0
    1

Package Sidebar

Install

npm i jasmine-bail-fast

Weekly Downloads

797

Version

0.0.1

License

BSD

Last publish

Collaborators

  • hurrymaplelad