From 02e16ad5def2c46503e07c9c81ea6f477db5a3b8 Mon Sep 17 00:00:00 2001 From: kai-morich Date: Sat, 4 Jul 2020 15:45:47 +0200 Subject: [PATCH] Updated Device Tests & Coverage Report (markdown) --- Device-Tests-&-Coverage-Report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Device-Tests-&-Coverage-Report.md b/Device-Tests-&-Coverage-Report.md index 0416cbe..645475b 100644 --- a/Device-Tests-&-Coverage-Report.md +++ b/Device-Tests-&-Coverage-Report.md @@ -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.