我应该用JUnit运行什么GUI(类似于NUnit gui) [英] What GUI should I run with JUnit(similar to NUnit gui)

查看:142
本文介绍了我应该用JUnit运行什么GUI(类似于NUnit gui)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行我的JUnit测试应该使用什么GUI,以及我该如何做到这一点?我的整个背景是在.NET中,所以我习惯于启动我的NUnit gui并运行我的单元测试。如果灯是绿色的,我很干净。

What GUI should use to run my JUnit tests, and how exactly do I do that? My entire background is in .NET, so I'm used to just firing up my NUnit gui and running my unit tests. If the lights are green, I'm clean.

现在,我必须编写一些Java代码,并希望使用JUnit运行类似的东西。 JUnit文档很好,很清楚添加创建测试所需的属性,但它非常依赖于如何启动跑步者并查看这些测试的结果。

Now, I have to write some Java code and want to run something similar using JUnit. The JUnit documentation is nice and clear about adding the attributes necessary to create tests, but its pretty lean on how to fire up a runner and see the results of those tests.

推荐答案

Eclipse是我用过的最好的。将JUnit与代码覆盖率插件结合使用,Eclipse可能是最好的单元测试人员。

Eclipse is by-far the best I've used. Couple JUnit with a code coverage plug-in and Eclipse will probably be the best unit-tester.

这篇关于我应该用JUnit运行什么GUI(类似于NUnit gui)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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