I have a single, simple unit test in my Android app module:
/src/test/java/org.acme.test/SimpleTest.java
When I run:
./gradlew clean testDebug --tests='*.SimpleTest'
I get this exception:
java.lang.Exception: Custom runner class AndroidJUnit4 should have a public constructor with signature AndroidJUnit4(Class testClass)
Why does it think 'AndroidJUnit4' is a custom runner class, when it's a final class?
src/test/directory? Shouldn't it be insrc/androidTestdirectory?