sbt
's test-only
command can be used to run the tests found in a specific test class. With JUnit tests you can use test-only
to run specific methods on a test class e.g. test-only mypackage.MyTestClass.test1Equals1
to run just that method.
Is such a thing possible with scalatest's more free-form test syntax, presumably by working out the name it uses internally to reference a specific test? If it isn't possible in FreeSpec
(which is easy to imagine given its nature) is there a way to do it with a simpler testing approach like FunSuite
?