Run all unit tests in Android Studio

后端 未结 5 1551
渐次进展
渐次进展 2020-12-15 02:20

I have this project in Android Studio :

I wish to run all unit tests in all project with one click.

How i can do it ?

5条回答
  •  醉酒成梦
    2020-12-15 02:47

    You can try to use this command line on the android terminal: Mac:

    ./gradlew test connectedAndroidTest
    

    Windows:

    gradlew test connectedAndroidTest
    

提交回复
热议问题