Updated Device Tests & Coverage Report (markdown)

master
kai-morich 2020-07-04 15:45:47 +02:00
rodzic e5ac7b7f40
commit 02e16ad5de
1 zmienionych plików z 1 dodań i 1 usunięć

@ -53,7 +53,7 @@ Enable ``apply from: 'coverage.gradle'`` in ``usbSerialForAndroid/build.gradle``
Remove previous test results with ``gradle clean`` or *Android Studio : Menu -> Build -> Clean Project*
For each *flavor* defined in ``coverage.gradle`` execute the corresponding *create***Flavor***DebugAndroidTestCoverage* task. You can find these tasks in Android Studios Gradle window in the *usb-serial-for-android -> usbSerialForAndroid -> other* folder. You can show this window with *Android Studio : Menu -> View -> Tool Windows -> Gradle*.
For each *flavor* defined in ``coverage.gradle`` execute the corresponding *create***Flavor***DebugAndroidTestCoverageReport* task. You can find these tasks in Android Studios Gradle window in the *usb-serial-for-android -> usbSerialForAndroid -> other* folder. You can show this window with *Android Studio : Menu -> View -> Tool Windows -> Gradle*.
As tests can be flaky, it's best to first execute *DeviceTest* as this shows the test results and errors much better and on success execute the *create***Flavor***DebugAndroidTestCoverage* task.