Android developer portal with tools, libraries, and apps

Show: All / Free / Paid / Demo

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.

Oct 10, 2018
Commercial

A complete reference for Android Testing with examples.

Nov 18, 2017

A collection of examples demonstrating different techniques for automated testing with Espresso.

Sep 19, 2015
Commercial

Droidcon 2013 Gradle workshop is an example project. It shows how to write Unit and Integration tests.

Dec 26, 2014

A sample android starter project to demonstrate the integration of the following tools:

  • Automation: Gradle
  • Testing: Android Testing Framework, Robotium, Roboelectric (JUnit, Android)
  • Continuous Integration: TravisCI

Sample Tasks:

  • Adding testing-only project dependencies
  • Using square spoon to run integraton tests
  • Writing android tests with robotium
  • Writing junit tests with robolectric
  • Android tests can be run with only Robotium use "gradle connectedAndroidTest"
  • Android tests can be run with Robotium and Spoon "gradle spoon"
  • Robolectric junit tests can be run with "gradle clean test"
Dec 23, 2014
Announcement

AndroidTestingPlease is an Android project that uses Robolectric and Espresso for testing and Gradle to build.

Nov 4, 2014