Skip to content

adrielcafe/ChuckNorrisFacts

Repository files navigation

Build Status Code Coverage Codebeat MIT License

Chuck Norris Facts

Android app powered by Chuck Norris facts API.

Sample APK here.

Build with

App

Unit & Android Tests

Build

The project can be build with Android Studio or through the command line:

./gradlew assembleDebug

To build and install on the connected device:

./gradlew installDebug

Lint

This project uses ktlint through the spotless plugin.

To check the formatting:

./gradlew spotlessKotlinCheck

To apply the recommended formatting:

./gradlew spotlessKotlinApply

Test

To run unit tests on your machine:

./gradlew testDebugUnitTest

To run automated tests on connected devices:

./gradlew connectedDebugAndroidTest

Code Coverage

The code coverage report is automatically sent to Codecov by Bitrise CI every time a new push to the master branch is made.

To generate it on your machine:

./gradlew jacocoTestDebugUnitTestReport


Current coverage graph