mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-09 00:46:11 +00:00
Updated Device Tests & Coverage Report (markdown)
parent
e5ac7b7f40
commit
02e16ad5de
@ -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*
|
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.
|
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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user