Closed GoogleCodeExporter closed 8 years ago
What's the use case? Typically this is taken care of by the build tool (Grails,
Gradle, Maven, etc.). You could also use the JUnit command-line runner.
Original comment by pnied...@gmail.com
on 14 Jan 2013 at 6:15
I entered this issue after finding the following thread in the google group but
no issue entered into the tracker.
https://groups.google.com/forum/#!topic/spockframework/by9zHG4cE2M/discussion
In my particular case I want to run a single spec via Gradle.
Original comment by poorg...@gmail.com
on 16 Jan 2013 at 5:11
> In my particular case I want to run a single spec via Gradle.
This is accomplished as follows: `gradle [testTask]
-D[testTask].single=[className]`
Example: `gradle test -Dtest.single=MySpec`
The same should work for packages (although I haven't tried).
Providing its own command line runner is currently out of scope for Spock, so
I'll close this issue.
Original comment by pnied...@gmail.com
on 25 Jan 2013 at 1:15
Original issue reported on code.google.com by
poorg...@gmail.com
on 14 Jan 2013 at 6:12