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)


基础教程推荐
- 不推荐使用 Api 注释的描述 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 多个组件的复杂布局 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 从 python 访问 JVM 2022-01-01