spec2 with Intellij using sbt.

When trying to run a spec2 test with Intellij with the "Use sbt" checkbox marked I get the following command line that is built by Intellij:

Command line built is : 

[IJ]> {file:/home/user/IdeaProjects/foundation/}com/testOnly -- -specname io.proj.lake.SanityCheckSpec

And the exception is this: 

java.lang.IllegalArgumentException: Argument unrecognized by ScalaTest's Runner: -specname

 

 

0

请先登录再写评论。