Skip to content

goodeggs/jasmine-bail-fast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jasmine-bail-fast build status

Bail after first test failure.

Commonly called fail fast, but Mocha uses --bail. Compromise? bail fast.

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.

With jasmine-node

npm install jasmine-bail-fast

Then before your first spec:

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

About

Bail after first test failure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •