IntelliJ: Unable to load a Suite class

13 views
Skip to first unread message

Geoff L.

unread,
Sep 27, 2021, 4:46:36 PM9/27/21
to scalatest-users
Hi,

I am using ScalaTest in a Maven Multi-Module project.  I have 2 modules: module-a and module-b and module-a depends on module-b.

image.png

I have tests in both modules and when I run the all tests located in module-a I get an error from IntelliJ (it works fine if I run "mvn clean package")

image-1.png

Note: I am running all the tests from all packages under the scala folder.

I noticed that the Run configurations are set to "Across module dependencies".  If I switch to "In single module" it works but I don't like the manual manipulation.

image-3.png

Anyone experiencing a similar issue?

Thank you!
Reply all
Reply to author
Forward
0 new messages