Running UTest tests => NoSuchMethodError: utest.framework.Tree.children()
Running UTest tests from within IntelliJ IDEA with Scala plugin installed gives an error
Running `sbt test` works just fine
I suspect changes in UTest may not be yet supported in the Scala Plugin test runner for UTest
Help is much appreciated
build.sbt
name := "scala-pad"
version := "0.1"
scalaVersion := "2.13.0"
libraryDependencies += "com.lihaoyi" %% "utest" % "0.7.1" % "test"
testFrameworks += new TestFramework("utest.runner.Framework")
Error
Exception in thread "main" java.lang.NoSuchMethodError: utest.framework.Tree.children()Lscala/collection/Seq;
at org.jetbrains.plugins.scala.testingSupport.uTest.UTestSuite540Runner.traverseTestTreeDown(UTestSuite540Runner.java:150)
at org.jetbrains.plugins.scala.testingSupport.uTest.UTestSuite540Runner.runTestSuites(UTestSuite540Runner.java:85)
at org.jetbrains.plugins.scala.testingSupport.uTest.UTestRunner.main(UTestRunner.java:111)
Versions
- Scala 2.13
- UTest 0.7.1
- JDK 1.8 (build 1.8.0_202-b08)
- Intellij IDEA Ultimate 2019.2.3
- Scala Plugin 2019.2.28
请先登录再写评论。