scalatest / scalatest-maven-plugin

ScalaTest Maven Plugin
Apache License 2.0
34 stars 61 forks source link

How to run single test case from the command line? #76

Open ldeck opened 4 years ago

ldeck commented 4 years ago

sbt allows passing through options to scalatest to run a single test. For example: testOnly *MySuite -- -z foo (sourced from https://stackoverflow.com/a/22490924/1241878).

How can this be done with the maven plugin? mvn scalatest:test -Dtests=MySuite ???