JUnit Flux Eclipse plugin

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.

Advertisements

About Diego Lemos

Trainer, coach and polyglot programmer. Agile and software craftsmanship enthusiast.
This entry was posted in Agile and tagged , , , . Bookmark the permalink.

3 Responses to JUnit Flux Eclipse plugin

  1. Hi, thanks for youre feedback :). You can also use MoreUnit http://moreunit.sourceforge.net/ which is really helpfull to check test coverage, refactor your unit test when refactoring the tests and generate the test method or class using youre favorite mocking framework.

  2. Awesome! I got it working. Note that ‘Build Automatically’ must be enabled. This feature should be default in Eclipse.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s