I have Scala + Java tests in a project and the long running Scala tests has a Tag to run them separately. To run all the Scala tests I run: testOnly * -- -n LongRunningTag testOnly * -- -l LongRunningTag The second one run all tests that doesn't have the tag. But the Java tests doesn't run.