相关疑难解决方法(0)

如何在Eclipse中选择或更改JUnit版本?

基本上我使用的源代码需要一个非常具体的JUnit测试版本,例如:

lucene-test-framework-XX.jar
  The compiled Lucene test-framework library.
  Depends on junit 4.10.x (not 4.9.x, not 4.11.x), and Apache Ant 1.7.x (not 1.6.x, not 1.8.x)
Run Code Online (Sandbox Code Playgroud)

但是,我是Eclipse新手,我在哪里以及如何将JUnit更改为4.10.x?

非常感谢提前!

eclipse junit eclipse-plugin junit4

9
推荐指数
1
解决办法
2万
查看次数

如何判断JUnit IntelliJ的哪个特定版本正在使用?

我已经开始研究已经设置了IntelliJ环境的大型项目.环境包括JUnit,我可以成功运行单元测试.我已经看过屏幕,我可以指定JUnit 3或JUnit 4的用法,但是如何确定使用哪个特定的JUnit来运行我的测试,例如JUnit 4.11?

我已经尝试过"打开模块设置".当我查看"Dependencies"选项卡时,我看不到任何与JUnit有关的内容,尽管我可以运行JUnit测试.

intellij-idea

9
推荐指数
1
解决办法
8426
查看次数

标签 统计

eclipse ×1

eclipse-plugin ×1

intellij-idea ×1

junit ×1

junit4 ×1