mercredi 28 janvier 2015

Command for karma-jasmine to stop unit-test after first fail

Is there any command for karma-jasmine unit-test to stop the test when it encounters the first test fail. For example, in python the command is like:



py.test -x # stop after first failure
py.test --maxfail=2 # stop after two failures


Currently I am using node_modules/karma/bin/karma start that run all the tests and stops only after everything is executed


Aucun commentaire:

Enregistrer un commentaire