简体   繁体   中英

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

不确定你在寻找什么...但是如果你在开发期间搜索在后台运行单元测试的工具,请查看InfinitestJUnit Max

If you work with eclipse, and you dock your JUnit view in a convenient place, it's one button to click to rerun your tests, and see the report immediately in the same view.

It's a very efficient way to perform test driven developpement.

You could use Sonar with Hudson to do this for you. In the company I work in, we use this combination to solve your issue. There's also a Sonar plugin for Eclipse. But, if you look for something like an IDE-based solution I can't help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM