unified-code-coverage-android icon indicating copy to clipboard operation
unified-code-coverage-android copied to clipboard

I am facing below error could you help me out

Open mahesh825mahi opened this issue 6 years ago • 2 comments

Task :app:connectedDebugAndroidTest Starting 0 tests on SM-J700F - 6.0.1

com.android.builder.testing.ConnectedDevice > No tests found.[SM-J700F - 6.0.1] 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).

Task :app:connectedDebugAndroidTest FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:connectedDebugAndroidTest'.

There were failing tests. See the report at: file:///D:/Satsuma/AAA_Sample/QA/unified-code-coverage-android-master/app/build/reports/androidTests/connected/index.html

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 55s 52 actionable tasks: 1 executed, 51 up-to-date 1:15:09 PM: Task execution finished 'createDebugCoverageReport'.

mahesh825mahi avatar May 07 '19 07:05 mahesh825mahi

@mahesh825mahi I was experiencing the exact same problem and was pulling my hair out trying to get to the bottom of it.

I nuked my gradle cache and then ran ./gradlew clean app:cAT and everything worked.

ohhhHenry avatar May 22 '19 19:05 ohhhHenry

Now it's back. 👎 👎 👎

ohhhHenry avatar May 22 '19 19:05 ohhhHenry