Android developer portal with tools, libraries, and apps

Show: All / Free / Paid / Demo

KotlinTest is a flexible and comprehensive testing tool for the Kotlin ecosystem based on and heavily inspired by the superb Scalatest. KotlinTest provides several ways to lay out your test so that your team can pick the style they are most happy with. It also includes many matchers which allow you to write many different types of assertions easily and in a human readable way. Finally, there's helpers for things like collection testing, and future testing.

Sep 27, 2016

Truth is a testing framework designed to make your tests and their error messages more readable and discoverable, while being extensible to new types of objects.

Truth adopts a fluent style for test propositions, is extensible in several ways, supports IDE completion/discovery of available propositions, and supports different responses to un-true propositions. Truth can be used to declare JUnit-style assumptions (which skip the test on failure), assertions (interrupt the test on failure), and expectations (continue the test, but collect errors and report failure at the end).

Feb 25, 2015

Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers.

Jul 5, 2014

JsonUnit is a library that simplifies JSON comparison in unit tests.

Dec 23, 2017

TestObserver to easily test LiveData and make assertions on them, inspired by RxJava. Allows effective testing of your ViewModel and makes TDD possible.

Oct 22, 2018

JGiven is a developer-friendly and pragmatic BDD tool for Java. Developers write scenarios in plain Java using a fluent, domain-specific API, JGiven generates reports that are readable by domain experts.

Nov 20, 2016

TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use.

Jul 5, 2014

EqualsVerifier can be used in Java unit tests to verify whether the contract for the equals and hashCode methods in a class is met.

Jan 28, 2017

Espresso is a great tool to test our Android apps via instrumental tests. With them, we can mimic user actions like clicking a button, scrolling a list, selecting an item on a spinner or swiping on a pager. Then, we can assert that a text appears in the screen, an image is visible or invisible, or a button is enabled or not.

On the other hand, if you tried Espresso, you’ll agree that its API is not discoverable.

Barista introduces a discoverable API for the Espresso features. So, you and all the Android team will write instrumental tests with no effort.

Feb 11, 2017

JBehave is a framework for Behaviour-Driven Development (BDD). BDD is an evolution of test-driven development (TDD) and acceptance-test driven design, and is intended to make these practices more accessible and intuitive to newcomers and experts alike.

Jul 5, 2014

A specification framework for Kotlin.

Sep 1, 2016

JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

Jul 5, 2014

Cucumber is a tool for running automated acceptance tests written in a behavior-driven development (BDD) style.

Jul 5, 2014

Kluent is a "Fluent Assertions" library written specifically for Kotlin.

Dec 13, 2016

Simple test to see if all models in project correctly implement Parcelable.

May 16, 2016

This library provides a JUnit TestRule that plants a temporary Timber tree that pipes any logs sent via Timber to the standard System.out. Once a unit test has completed, the Timber tree is removed to avoid logging unintended test cases.

The rule is extremely useful for Android JUnit tests, as the Timber logs do not show without planting a tree.

There are many ways to modify the output using the following behaviours:

  • The minimum log level to output.
  • Whether thread ids are shown.
  • Whether timestamps are shown.
  • Whether to always log, or only log when a unit test fails.
Apr 14, 2018

JFixture is an open source library based on the popular .NET library, AutoFixture.

JFixture is a Java library to assist in the writing of Unit Tests, particularly when following Test Driven Development. It generates types based on the concept of 'constrained non-determinism', which is an implementation of the Generated Value xUnit test pattern.

Feb 24, 2017

Spek extensions to match BDD language.

Apr 2, 2018

RoboSpock combines two great test frameworks and lets you get the best of both - to run fast unit test written with Groovy on local JVM. It integrates well with Gradle build system and works with older Ant based projects.

Jul 5, 2014

Save time & clear your unit tests on Android!

Use annotations to inject Context, Activities, Fragments and Views into your tests.

May 12, 2016

Running instrumentation tests on Android using Espresso requires disabling animations. DeviceAnimationTestRule is a JUnit rule which disables device animations prior to running any test, and enable them after every test has been executed.

Dec 18, 2016

Kheera is a BDD Framework, especially design for Android application development workflows. It's designed to be fast, small and completely compatible with Android Test Kit, Espresso 3, UIAutomator etc.

Nov 25, 2017

JConditions is an extension for JUnit framework, which allows to mark test methods with specific conditional annotations. It helps to keep clean your test methods and prevents a lot of unnecessary code.

Aug 31, 2015

Nice AssertJ assertions for RxJava.

May 11, 2016

An Android TDD bootstrap project, use a collection of new technology, obey best practices, inspired from some popular architectures, develop with many handy tools.

Oct 2, 2015

assertj-android is a set of AssertJ assertions geared toward testing Android.

Writing tests is not the most glamorous part of developing an Android application but it is an invaluable one. Using libraries like JUnit and AssertJ provide a great starting point for writing tests.

This library is an extension of AssertJ which aims to make it even easier to test Android.

Jul 5, 2014

Simple JUnit rule for overriding RxJava/RxAndroid schedulers during unit tests.

Nov 4, 2016

A JUnit rule which allows unit testing of custom Lint rules.

Jan 2, 2017

android-spock allows to run Spock on Android.

Jan 11, 2015

Simple assert to verify that your object has implementation of Parcelable Android interface.

Oct 30, 2015