Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rapid Test Driven Development in Java

I have been using the guard framework in rails for quiet a while and I have just fallen in love with it. I also work in Java a lot and I find it surprising that such a tool is not available for rapid test driven development. Here's what guard does for you (form the original website)-

  • File system changes handled by our awesome Listen gem.
  • Support for visual system notifications.
  • Huge (more than 120) guard extensions eco-system.
  • Tested against Ruby 1.8.7, 1.9.2, 1.9.3, REE and the latest versions of JRuby & Rubinius.

In essence, it helps me keep an eye on test cases while I am making changes or adding stuff to my codebase. The following are the benefits of such an approach-

  • Unobtrusive test case driven development
  • Instant acknowledgement of the impact of a code change
  • High quality code
  • Minimized regression ripples

Does anyone know how to achieve similar goals in Java? Note- Automated test tools like Hudson is not an answer I am looking for. I need something that can be used on local development machines/environment so there is an instant test case feedback on a code change.

Thanks

like image 877
Kruttik Avatar asked Jun 21 '12 15:06

Kruttik


1 Answers

Not sure what you are looking for ... but if you search for a tool that runs your unit tests in the background during development have a look at Infinitest or JUnit Max.

like image 158
Arne Deutsch Avatar answered Oct 05 '22 11:10

Arne Deutsch