Getting error while generating test cases for espresso android

前端 未结 1 858
迷失自我
迷失自我 2021-01-16 16:40

I am following these two links 1 and 2 for espresso test report but getting error while running ./gradlew createDebugCoverageReport. The error will be shown in

相关标签:
1条回答
  • 2021-01-16 17:36

    A few things that got this running:

    1. Make sure that all the requisites are checked, per this other thread: https://stackoverflow.com/a/25525390/3195307
    2. Make sure there is a connected device ready to execute your tests. Emulator, physical device, or cloud device. It should show in 'Select Deployment Target' under 'connected devices' if you play your tests in IDE.
    3. Run Gradlew (project gradle wrapper) from the project directory like so: ./gradlew :app:createDebugCoverageReport
    0 讨论(0)
提交回复
热议问题