This repository contains examples of basic unit tests written in Kotlin. In specific directories you can find gradle buildscript with needed dependencies and configuration, simple unit test and parameterized test.
A complete reference for Android Testing with examples.
A collection of examples demonstrating different techniques for automated testing with Espresso.
Droidcon 2013 Gradle workshop is an example project. It shows how to write Unit and Integration tests.
A sample android starter project to demonstrate the integration of the following tools:
Sample Tasks:
AndroidTestingPlease is an Android project that uses Robolectric and Espresso for testing and Gradle to build.