是否有可能在Eclipse中运行增量/自动的JUnit测试? [英] Is it possible to run incremental/automated JUnit testing in Eclipse?

查看:258
本文介绍了是否有可能在Eclipse中运行增量/自动的JUnit测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

支持Eclipse的渐进式编译。如果我保存源文件,那么编译修改的文件。

Eclipse support incremental compiling. If I save a source file then it will compile the modified files.

是否有可能这样的渐进式编译后也运行同一程序包的JUnit测试,并显示错误观点的失败。然后,我可以看到JUnit测试失败和编译在同样的观点错误,而无须额外的操作。是否有任何插件,能做到吗?

Is it possible after such incremental compile also to run the JUnit tests of the same package and show the fail in the error view. Then I can see the JUnit test failing and compiling errors in the same view without extra action. Are there any plugins that can do it?

推荐答案

您要看看这些插件:


  • JUnit的最大:不是免费的,由Kent联鑫光电(的TDD实践背后的男人之一)开发;

  • MoreUnit :免费的,但本质上竭诚为您编写测试;

  • Infinitest :现在免费,这个插件是专门为运行关系到你刚才修改的文件测试

  • JUnit Max: Not free, developed by Kent Benk (one of the men behind the TDD practice);
  • MoreUnit: Free, but essentially dedicated to help you write the tests;
  • Infinitest: Now free, this plugin is dedicated to run the tests related to the files you have just modified.

所以对于您的需求,我建议你安装MoreUnit和Infinitest插件。

So regarding your needs, I suggest that you install MoreUnit and Infinitest plugins.

这篇关于是否有可能在Eclipse中运行增量/自动的JUnit测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆