Android Gradle Managed Devices - How to clear cached test results

328 Views Asked by At

When running android espresso tests using gradle managed devices, how can you clear the test results that are cached if you want to force the test(s) to be re-ran?

Per https://developer.android.com/studio/test/gradle-managed-devices: Caches test results and reruns only tests that are likely to provide different results

1

There are 1 best solutions below

0
On

Looks like running ./gradlew clean works for this