I am trying to use the 1.10 added feature of specifying tests to run on the command line using the ‘–tests’ argument, but it does not appear to work.
When I run this: ‘/usr/local/Cellar/gradle/1.11/bin/gradle test --tests JdbcConfigTest’, in a project that has a hundred or so test classes, the JdbcConfigTest class does not get run at all. Instead, I only get one test class run, BetterFileUtilsTest. (Included actual class names here just in case that helps debugging purposes). No other class files get run, so some kind of filtering is going on. But, it is not according to the filter I gave it… When I leave off the ‘–tests’ argument, then all the classes get run correctly.
for reference / history, please see https://github.com/gradle/gradle/pull/193