5

Is there an option in Javascript's Mocha test runner to only run tests which failed on the previous run? Is there an easy way to implement that if not? There are a lot of words written about retrying flaky tests but thats not what I want. I want to run tests, see failures, make updates to the code, then automatically run only the previous failed tests to see if my changes fixed them

Akron
  • 1,413
  • 2
  • 13
  • 28

1 Answers1

1

Found this https://github.com/segmentio/mocha-broken but integration into WebStorm wasn't streamlined enough so dropped it...

Might fit your needs though, worth a try

Or Gal
  • 1,298
  • 3
  • 12
  • 20