File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,17 @@ buildTypes {
15
15
}
16
16
}
17
17
```
18
+ ### Run createDebugTestCoverageReport command from app->task->other
18
19
20
+ ![ Alt Text] ( https://github.com/azizcse/Android-code-coverage/blob/master/img/run_test.png )
19
21
22
+ # Jacoco coverage report
20
23
21
- A sample project showcase of how to merge the coverage data from both ` androidTest ` and ` test ` .
24
+ ### Run /gradlew jacocoTestReport command
22
25
23
- [ Java Example ] ( https://github.com/rafaeltoledo/unified-code-coverage- android/ )
26
+ Both android default and Jacoco report will be generaged
24
27
25
- [ Kotlin Example ] ( https://github.com/rafaeltoledo/unified -code-coverage-android/tree/kotlin-coverage )
28
+ ![ Alt Text ] ( https://github.com/azizcse/Android -code-coverage/blob/master/img/coverage_report.png )
26
29
27
- [ Java+Kotlin Example] ( https://github.com/rafaeltoledo/unified-code-coverage-android/tree/mixed-languages )
28
30
29
- =============
30
31
31
- [ Blog Post] ( https://medium.com/@rafael_toledo/setting-up-an-unified-coverage-report-in-android-with-jacoco-robolectric-and-espresso-ffe239aaf3fa ) (en-US)
32
- [ Another Blog Post] ( https://proandroiddev.com/unified-code-coverage-for-android-revisited-44789c9b722f ) (en-US)
33
-
34
- [ Blog Post] ( https://medium.com/android-dev-br/gerando-o-relat%C3%B3rio-de-cobertura-de-testes-unificado-com-jacoco-robolectric-e-espresso-c5f110dbf94f ) (pt-BR)
You can’t perform that action at this time.
0 commit comments