playframework/play — pull request #523 by jesperronn (2012-07-11 12:22:09+00:00)
Title: Testrunner should rerun failing tests first

I created a change for the HTML/Javascript testrunner. Now it fails faster, since tests that have previously failed are run first.

The change is really simple. In the test runner js, i run through all tests that fail and annotate them. Once the testrunner determines which test to run next, it will prioritize the ones that previously failed. After that, it continues to pick next test like before.

Currently we use it at work with Play 1.2.4, but the HTML file has not changed for 1.2.5.

Everybody uses this patch at work, and we are generally really happy with it. Can you please merge the change in so that everybody could benefit from it?

Thanks!

Jesper Rønn-Jensen,
www.justaddwater.dk