Question

I've used the MIT Continuous testing plugin in the past, but it has long since passed out of date and is no longer compatible with anything approaching a modern release of Eclipse.

Does anyone have a good replacement? Free, naturally, is preferred.

Was it helpful?

Solution

I found that Infinitest now has an Eclipse plugin that seems to work pretty well.

OTHER TIPS

There is a list in this Ben Rady article at Object Mentor: Continuous Testing Explained. Unfortunately the only Eclipse tool appears to be CT-Eclipse which is not currently maintained either.

There is also Fireworks for IntelliJ and Infinitest which is not IDE specific but also has some IntelliJ integration.

My experience is that continuous testing within the IDE can become unwieldy and distracting, so I prefer to use something like CruiseControl to do this kind of testing. One tool I have found very useful is EclEmma, which gives you a very fast coverage turnaround for your units, helping you to decide when you have finished testing a particular area of the code.

Infinitest decides what tests it wants to run. Often it runs the wrong ones. Green bar sometimes good, sometimes meaningless.

I've had good experience with infinitest on a small and simple project. I've not run into any issues with it and find it fast and helpful.

I also use Infinitest (and voted for one of its answers), but I wanted to add another approach, which relies on the build server. Whenever you want to implement something, create a branch in your VCS, do your changes, commit to your branch. If you have a build server configured, which runs unit tests on every checkin, your unit tests are then run on the build server without actually having polluted the trunk (or HEAD, whatever you call it) and without you waiting for the test run to finish.

I admit that this is not really continuous unit testing in the sense you asked the question, but for large projects or large test suites even a "normal" continuous test runner may slow you down way to much.

For small projects I also recommend Infinitest or CT Eclipse.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top