Jacoco support for local unit tests

This commit is contained in:
Dominik Schürmann
2015-06-11 12:54:15 +02:00
parent 7a5121894e
commit b856d82ae2
2 changed files with 38 additions and 3 deletions

View File

@@ -51,8 +51,12 @@ Select everything for the newest SDK Platform, API 22, and also API 21
### Run Tests
1. Use OpenJDK instead of Oracle JDK
2. Execute ``./gradlew clean``
3. Execute ``./gradlew testDebug --continue``
2. Execute ``./gradlew clean testDebug --continue``
### Run Jacoco Test Coverage
1. Use OpenJDK instead of Oracle JDK
2. Execute ``./gradlew clean testDebug jacocoTestReport``
3. Report is here: OpenKeychain/build/reports/jacoco/jacocoTestReport/html/index.html
### Development with Android Studio