I'm getting this error whenever I try to create a coverage report:
Instrumentation run failed due to 'Process crashed.' com.android.builder.testing.ConnectedDevice > No tests found.[Pixel 2 - 8.1.0] FAILED No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @Test annotations). I modified a sample repo to reproduce the issue: https://github.com/suarezjulian/unified-code-coverage-android
just download and execute:
./gradlew jacocoTestReport