Per the documentation it seems that:
gradle test --tests SomeSpecificTest
Would run the test class named org.package.SomeSpecificTest, or any class with that name. However I couldn’t get that to ever run any tests, because of the package name. So the following did evaluate what I thought it would
gradle test --tests *SomeSpecificTest
I am not sure if the first was intended to work like the second. Either way is valid, but should be either corrected in the docs, or gradle should be fixed to match the docs.
This was happening for me with gradle 1.11 and the java and groovy plugin on a groovy test.