In sbt
when I type testOnly
and after press the tab
key, then I will get all available tests:
sbt:plugger> testOnly
-- com.sweetsoft.detector.DetectorSpec com.sweetsoft.sender.SenderMessageSpec
Is there a command to get all available test, instead press the tab
key?
Try executing show test:definedTests
from sbt, which on my machine outputs
sbt:scala-213> show test:definedTests
[info] * Test example.RuleSpec : subclass(false, org.scalatest.Suite)
[info] * Test example.HelloSpec : subclass(false, org.scalatest.Suite)
Inspection of definedTests
gives
inspect test:definedTests
[info] Task: scala.collection.Seq[sbt.TestDefinition]
[info] Description:
[info] Provides the list of defined tests.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With