基本上我使用的源代码需要一个非常具体的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?
非常感谢提前!
我已经开始研究已经设置了IntelliJ环境的大型项目.环境包括JUnit,我可以成功运行单元测试.我已经看过屏幕,我可以指定JUnit 3或JUnit 4的用法,但是如何确定使用哪个特定的JUnit来运行我的测试,例如JUnit 4.11?
我已经尝试过"打开模块设置".当我查看"Dependencies"选项卡时,我看不到任何与JUnit有关的内容,尽管我可以运行JUnit测试.