Friday, January 24, 2020

ScalaTest in sbt: is there a way to run a single test without tags?

ScalaTest in sbt: is there a way to run a single test without tags?

a single test can be ran by running, in sbt, 
testOnly *class -- -n Tag
to run only the tests whose name includes the substring "foo".
testOnly *MySuite -- -z foo
For exact match rather than substring, use -t instead of -z.

No comments:

Post a Comment