Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

An example of basic Android application setup using Kotlin. It can run Robolectric and Espresso tests.

Notifications You must be signed in to change notification settings

dam5s/android-example-kotlin

Repository files navigation

Android Example Kotlin

An example of basic Android application setup using Kotlin, including Robolectric tests.

This is an example built from the three following sources

  • Deckard Gradle (from the Robolectric team) demonstrates the base structure for running Robolectric tests through gradle.
  • tests-app-robolectric-junit (by Paul Blundell) demonstrates how to use a components based structure in order to make Robolectric tests well supported by Android Studio.
  • Kotlin Android Tutorial On how to convert the existing Java sctructure to Kotlin.

I haven't done any extra work on making the code nicer using Kotlin. This project is just a nice minimal starter for any android project using Kotlin and Robolectric.

Setup

Use Android Studio

About

An example of basic Android application setup using Kotlin. It can run Robolectric and Espresso tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages