How to filter tests with ScalaTest and SBT
A quick post to show how to filter test with SBT and ScalaTest.
Filtering in ScalaTest works with tags. Then the test can be filtered in the runner .
You can add filtering argument in sbt via TestOptions 1 :
testOptions in Test += Tests.Argument("-l", "MyTag")
You can look for a complete example about it https://github.com/un-jon/psychic-octo-lana and my related pull-request in banana-rdf : https://github.com/w3c/banana-rdf/pull/9
Here is the complete build.sbt
blog comments powered by Disqus