I am using Spock framework for testing (1.0-groovy-2.4 release). Junit offers this option to run a specific test using the command line (with Maven):
mvn -Dtest=TestCircle#mytest test
How can I do this with Spock?
This version has a dependency on Junit 4.12, it is stated in Junit documentation that this feature is supported only for Junit 4.x, basically Spock should propose something similar.
Aucun commentaire:
Enregistrer un commentaire