Android Local Unit test with command line coverage message

I am working on a new project for Android. I am currently using Android Studio as an IDE. I need to run the Unit test and System (CI) test threads, which can be run both on the local machine (JVM) and on the emulator / real device device.

Please note that I run all unit tests through the command line.

To get the emulator / real device coverage code I use Jacoco. and running the following command: gradlew createDebugCoverageReport However, I cannot find a way to start the local unit test computer with a coverage report from the command line. The only way to launch it from Android studio is by selecting "Run XXX with Code Coverage":

enter image description here

, Unit test . html ?

, Zachi

+4
1

, Android IntelliJ.

IntelliJ. , , , , :

IntelliJ

IntelliJ :

IntelliJ

, , .

+3

Source: https://habr.com/ru/post/1616082/


All Articles