我正在尝试在JUnit4 IDEA 2017.1.5中的同一个项目中使用IntelliJ和JUnit5测试。直到现在,所有的测试都是基于JUnit4的。现在,既不执行JUnit4的示例测试,也不执行JUnit 5的示例测试。(LauncherFactory.java:53)
at com.intellij.junit5.JUnit5IdeaTestRunner.createListeners(JUnit5IdeaTestRunner.java(
尝试使用java8 + Junit5将我的项目迁移到IntelliJ 2017.2和junit-platform-launcher版本--它在控制台中运行良好,我认为这与IntelliJ默认的JUnit运行程序有关,或者我缺少了一些依赖项?WARNING: TestEngine with ID 'junit-jupiter' failed to discover tests
java.lang.NoSuchMethod