For JUnit 3
For AWS Device farm you need to upload both apk, your app apk and your tests apk.
- Run assemble task for AndroidTest.
NOTE: Debug is the buildType.
- Check generated apks:
For JUnit 4 and Testing Support Library support
Oficial JUnit tags are not supported so you need to format names with:
- Your test class should end with “Tests”.
- Your tests method should start wiht “test”.
Tested and working.