When I execute sbt testOnly *JoinTest*
no tests are found and the following output is shown, but com.typesafe.slick.testkit.tests.JoinTest
should have been executed:
testOnly *JoinTest*
[info] Compiling 1 Scala source to /ext/git/slick/slick-testkit/target/scala-2.10/test-classes...
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for testkit/test:testOnly
You're so close. Try this instead:
testOnly -- *JoinTest*
The --
allows you test send arguments to the test kit. Without that it's expecting a list of JUnit tests. More info here.