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

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

问题描述

应该使用什么 GUI 来运行我的 JUnit 测试,我该怎么做?我的整个背景都是 .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天全站免登陆