What GUI should I run with JUnit(similar to NUnit gui)(我应该用 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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:我应该用 JUnit 运行什么 GUI(类似于 NUnit gui)
基础教程推荐
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
