Skip to content

The project consists of exemplifying the implementation of unit and UI tests, to ensure quality and maintainability for new features

Notifications You must be signed in to change notification settings

allefsousa/Android-Test-Coverage

Repository files navigation

Codacy Badge Build Status Android CI Build Status CircleCI codecov ktlint BCH compliance codebeat badge Open Source Love License: MIT

How to run

Your reports will be generate inside build folder: app/build/reports/jacoco

./gradlew clean jacocoTestReport

Unit Test

./gradlew test

Instrumented Unit Test

./gradlew connectedAndroidTest

Monkey Test

adb shell monkey -p <app_package> -v <event_count>

Code Formatting ktlint

./gradlew ktlintFormat

Code Quality ktlint

./gradlew ktlint

Code Quality detekt

./gradlew detekt

GkW5y6QUX4S3wrsckBdK8Pr4bcs1-qd23ysj