Rapid Test Driven Development in Java

I use the guard framework in rails for peace of mind, and I just fell in love with it. I also work a lot in Java, and I find it surprising that such a tool is not available for rapid test development. Here what security guard does for you (the form of the source site) -

  • File system changes handled by our amazing Listen gem.
  • Support for visual system notifications.
  • A huge (over 120) ecosystem of conservation extensions.
  • Tested against Ruby 1.8.7, 1.9.2, 1.9.3, REE and the latest versions of JRuby and Rubinius.

In essence, this helps me keep track of test cases while I make changes or add things to my codebase. The following are the benefits of this approach -

  • Unobtrusive, test-based development.
  • Instant confirmation 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 are not the answer I'm looking for. I need something that can be used on local machines / development environments, so there is instant feedback from the code change test.

thanks

+6
source share
3 answers

Not sure what you are looking for ... but if you are looking for a tool that runs your unit tests in the background during development, check out Infinitest or JUnit Max .

+4
source

If you work with eclipse and attach your JUnit view in a convenient place, click one button to re-run your tests, and immediately see the report in the same view.

This is a very effective way to perform test development.

+2
source

You can use Sonar with Hudson to do this for you. At the company I work for, we use this combination to solve your problem. There is also a Sonar plugin for Eclipse. But, if you are looking for something like an IDE-based solution, I cannot help you.

+1
source

Source: https://habr.com/ru/post/918671/


All Articles