Skip to content

Commit a46a36b

Browse files
authored
Update README.md
readme added
1 parent 0e6c7c9 commit a46a36b

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,17 @@ buildTypes {
1515
}
1616
}
1717
```
18+
### Run createDebugTestCoverageReport command from app->task->other
1819

20+
![Alt Text](https://github.com/azizcse/Android-code-coverage/blob/master/img/run_test.png)
1921

22+
# Jacoco coverage report
2023

21-
A sample project showcase of how to merge the coverage data from both `androidTest` and `test`.
24+
### Run /gradlew jacocoTestReport command
2225

23-
[Java Example](https://github.com/rafaeltoledo/unified-code-coverage-android/)
26+
Both android default and Jacoco report will be generaged
2427

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)
2629

27-
[Java+Kotlin Example](https://github.com/rafaeltoledo/unified-code-coverage-android/tree/mixed-languages)
2830

29-
=============
3031

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)

0 commit comments

Comments
 (0)