I’ve been running tests mostly in IDEs (both Eclipse and IntelliJ) and they both work fine. However, I’ve noticed that if I try running tests from sbt shell with
test, nothing happens. Here’s what it looks like:
[example] $ test [success] Total time: 1 s, completed Jun 4, 2021 11:33:21 AM
I then tried
testOnly com.example.MyTestClass and that didn’t work either. Here’s what it looks like:
[example] $ testOnly com.example.MyTestClass [info] Passed: Total 0, Failed 0, Errors 0, Passed 0 [info] No tests to run for Test / testOnly
I’m using sbt 1.5.2 and I’m using Play for Java with
scalaVersion := "2.13.5".
Does anyone know what’s going on here?