Netbeans: Is it possible to use newer version of JUnit than the bundeled one?

南楼画角 提交于 2020-01-15 08:10:08

问题


Has anyone tried to use a newer version of JUnit in Netbeans? Netbeans currently has 4.5 bundled. Newest is 4.8 or so.

Could a newer version of JUnit break compatibility with Netbeans' unit test integration? Or do something else negative?


回答1:


Yes, you would add the new Junit JAR as a library and then add it to the project's Test Libraries folder in the Projects window. The Test Libraries folder is below the one shown here.



来源:https://stackoverflow.com/questions/2209349/netbeans-is-it-possible-to-use-newer-version-of-junit-than-the-bundeled-one

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!