Is it possible to run single tests using Robolectric-Gradle plugin?
I tried with this:
./gradlew test -Dtest.single=testName
But it is not working.
Made the same mistake myself. Thats the format for jcandksolutions plug-in (at least that's what I was using). -Dtest.single=<test name>
is not supported by RoboE-Gradle plugin.
Use --tests <test class name>
mechanism. This can be either --tests <classpath of test>
or wildcard with --tests *.*Test