A sort of spock, sort of gradle question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

A sort of spock, sort of gradle question

rstudner
I've read up on this with gradle:

gradle -Dtest.single=K* test

which, theoretically, should only run tests that start with K.

So.. now spock gets involved.. and I have all Specs (no junit tests)

Is there any way to, via gradle, inform Spock to only run certain tests (since there really isn't a concept of a test suite either)

if I use the command above, it runs all 30 of my specs (only 1 of which starts with a K) hah

Best,
Roger