kopia lustrzana https://github.com/mik3y/usb-serial-for-android
Updated Device Tests & Coverage Report (markdown)
rodzic
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*
|
||||
|
||||
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.
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue