/android-unit-tests

Companion code for my Medium.com article: Writing a Fully Unit Testable Android App

Primary LanguageKotlinMIT LicenseMIT

Android Unit Tests

Build Status Codacy Badge Maintainability Coverage Status Known Vulnerabilities

Companion code for my Medium.com article: Writing a Fully Unit Testable Android App

Running the Application

To build this application, simply run:

./gradlew assembleDebug

The output is shown in app/build/outputs/apk/debug/app-debug.apk

Running unit tests and extracting the coverage report is also just as easy:

./gradlew test

The coverage reports appear in app/build/reports/jacoco/jacocoTestReport