Hey friends. We’re looking at hooking into the instrumented tests on Android, to receive realtime progress. We’re able to do this with regular unit tests by attaching a Gradle TestListener. However, instrumented tests don’t use the same Gradle APIs.
I’m wondering how Android Studio is able to get realtime test results when running the
task? We can attach a custom Junit
- but this passes progress back to the app’s process itself, rather than our local machine.