My project has several module, like
- server (JVM)
- sharedJVM
- sharedJS
- client (JS)
At the moment testing does only work for the JVM modules.
What I can do is:
sbt sharedJVM/test server/test
What I want do is:
sbt test
I couldn't find a Setting to do this.
You can take advantage of
aggregatedProjectsas below:Once you do this, then whatever command you execute at root project level will be propagated to aggregated projects. Which means by running
sbt testwill executesbt server/testandsbt sharedJVM/test