Last week during the Xebia Knowledge Exchange I discovered a very useful Eclipse Plugin called junitflux.
JUnit Flux Eclipse plugin (junitflux) runs JUnit tests on each class saving. After saving a Java class, the plugin searches for the corresponding test class by adding the word ‘Test’ as a prefix or suffix of class name. Once the code change is made, the unit test result will immediately blow up on the screen.
During the code retreat session, I installed the JUnit Flux Eclipse plugin in order to get an instant feedback while coding. It works pretty well! Since feedback is an essential element for Agile Development junitflux turns out to be very useful.
junitflux can be installed using Eclipse ‘Install New Software…’ feature. To activate the plugin right-click your project and chose ‘Add JUnit Flux Nature’ option. For more information visit the junitflux project page.