尝试将 JUnit3 库添加到 Eclipse ADT 中的 Java 项目 - "the selected JUnit version is not available."
Trying to add JUnit3 library to Java project in Eclipse ADT - "the selected JUnit version is not available."
我想开始为我的 android 应用程序编写自动化应用程序测试,我正在学习本教程
http://developer.android.com/tools/testing/testing_ui.html
正中间写着 "add a new java project, then go to build path and add JUnit 3 library"
我这样做了,结果是这样的:
如评论中所述--
像这样的教程,一经编写,就很少更新了。
Java 5 (2008) 和 jUnit 3 (2007) 都很古老;你应该只使用两者的新版本——它们(大部分)向后兼容。
旁注:Eclipse 不关心插件的版本 运行:它在构建时与最新版本捆绑在一起,但如果您愿意,可以安装旧版本或更新版本不得不。 Android,另一方面,众所周知会抱怨某些依赖项(请参阅
IntelliJ IDEA with Junit 4.7 "!!! JUnit version 3.8 or later expected:"),但这些案例很少见,而且有据可查
我想开始为我的 android 应用程序编写自动化应用程序测试,我正在学习本教程
http://developer.android.com/tools/testing/testing_ui.html
正中间写着 "add a new java project, then go to build path and add JUnit 3 library"
我这样做了,结果是这样的:
如评论中所述--
像这样的教程,一经编写,就很少更新了。
Java 5 (2008) 和 jUnit 3 (2007) 都很古老;你应该只使用两者的新版本——它们(大部分)向后兼容。
旁注:Eclipse 不关心插件的版本 运行:它在构建时与最新版本捆绑在一起,但如果您愿意,可以安装旧版本或更新版本不得不。 Android,另一方面,众所周知会抱怨某些依赖项(请参阅 IntelliJ IDEA with Junit 4.7 "!!! JUnit version 3.8 or later expected:"),但这些案例很少见,而且有据可查