-
Notifications
You must be signed in to change notification settings - Fork 36
Error: Could not find or load main class org.scalatest.tools.Runner #73
Comments
Hi @mb720! The first thing to do would be to upgrade to the latest version of
With this latest release, I'm not 100% certain, but you can probably now remove the following line from your build.sbt file as there is enhanced support for network removal: Additionally, you are going to need to define the following setting to provide the proper With those changes I was able to successfully execute
|
Hi Kurt! Thanks a ton for your quick and helpful reply! Indeed, upgrading to the plugin's current version fixed the You were also right with the other two fixes. |
Hi!
I'm getting the error
when trying to run my tests using
dockerComposeTest
.The tests run fine when run from SBT using
test
.I added
testExecutionArgs := s"-R ${baseDirectory.value}/target/scala-2.12/test-classes"
thinking that maybe ScalaTest can't find the classes when being started using the plugin but that didn't help.I also tried to add all the class files to my docker-compose.yml by adding this to
build.sbt
to no avail (I'm using JavaAppPackaging):My
build.sbt
is here: https://gitlab.com/bullbytes/scala-js-exampleThanks, any help is appreciated.
The text was updated successfully, but these errors were encountered: