Netbeans: Is it possible to use newer version of JUnit than the bundeled one?
问题 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