JUnit Max

Continuous testing for Eclipse

Ready for test results now?

JUnit Max is a continuous testing plug-in for Eclipse that helps programmers stay focused on coding by running tests intelligently and reporting results unobtrusively. Every time you save a Java file, Max runs your tests and reports errors in the same format as compile errors.

Max delivers fast feedback, running the tests most likely to fail first. You only have to pay close attention to test results for a second (literally) before getting back to coding, even if you have a long-running test suite.

Slideshow

Community

Press release detailing the re-launch of JUnit Max.

Screencast of JUnit Max in action from Jason Gorman.

Feel free to join the conversation on the JUnit Max mailing list.


$100 per year

Amazon
PayPal

Kent Beck

JUnit Max is brought to you by Kent Beck, the rediscoverer of Test-Driven Development. I have drawn on years of personal TDD experience and years of writing innovative development tools to bring you the benefits of automated testing second-by-second as you program.


Technical details

Max's optimizing runner works because of two convenient facts:

  • Test run times generally follow a power law distribution--lots of very short tests and a few very long ones. This means that by running the short tests first you can get most of the feedback in a fraction of the runtime of the whole suite (assuming test failures aren't correlated with test run length, which I haven't verified yet).

  • Failures are not randomly distributed. A test that failed recently is more likely to fail than one that has run correctly a bazillion times in a row. By putting recently failed (and newly written) tests first in the queue, you maximize the information density of that critical first second of feedback (before you get distracted and go check Twitter).