I\'ve got a scala project that compiles, runs and tests fine when using SBT from the command line. However, when building the project in intellij, it seems every class in the pr
In my case problem solved by change ScalaTest template configuration in Idea. I select use sbt
, disable print info
, remove build before launch.
I like to use SBT for clean/package/test on specific module. I also use mixed Java/Scala classes in test (but I replace compile order to Java than Scala
).
At least now I can test from IDE withot this error.
PS: Now I disable use sbt
. My tests work fine (but I'm not sure, that they will work).
PPS: New tests not runs before compilation. It is disadvantage of removing build (and, maybe, of disabling use sbt
). But this extra build cause problem with dublication, as I think