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.
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")
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.
Anyone experiencing a similar issue?