Testing and validation of REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured brings the simplicity of using these languages into the Java domain.
Selendroid is a test automation framework which drives of the UI of Android native and hybrid applications (apps) and the mobile web with Selendroid. Tests are written using the Selenium 2 client API and for testing the application under test must not be modified.
Selendroid can be used on emulators and real devices and can be integrated as a node into the Selenium Grid for scaling and parallel testing.
A library for testing javac compilation with or without annotation processors.
Burst is a set of test runners which rely on enums for varying both the instantiation of test classes and the methods inside of them.
Fork is the fastest way to execute Android instrumentation test suites by Shazam developers.
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 sample android starter project to demonstrate the integration of the following tools:
Restito is a tool which is inspired by mockito and functionally is diametrically opposite to the Rest Assured.
Restito provides a DSL to:
Droidcon 2013 Gradle workshop is an example project. It shows how to write Unit and Integration tests.
Green Coffee is an Android library that allows you to run Cucumber scenarios in your instrumentation tests.
A sweeter Espresso. Never write your own
IdlingResource again. Never manually turn off system animations again.
A complete reference for Android Testing with examples.
Espresso's consistency makes it really easy to learn.
Want to match a view with a specific id? Use
withId(R.id.some_id). Need to match with a piece of text? Use
withText("some text). Awesome, consistent and it's very clear what it is you are doing.
After a few hours writing test code you'll find your code being a little bit too verbose. Not anymore.
Why should you need to explicitly specify that you are matching with some text if you are passing in some text as a parameter? Some for the view id, you can already see that it is a view id.
Ristretto allows you to write the same test code as you already write, but less verbose.
A helper class that implements both an Espresso
IdlingResource and an OkHttp 2 and 3
The Keyboard Geometry Builder (kgb) is a test tool to help reduce the incidences of regression stemming from difficulties in correctly handling the wide variety of Android keyboards, and how they interact (in particular) with WebViews.
A collection of examples demonstrating different techniques for automated testing with Espresso.
The goal of this project is to speed up the setup of Robolectric, Robotuim, Roboguice, and Mockito in Android Studio. Since there is not built in support for Robolectric there is a lot of manual set up that has to be done. This project uses Robolectric-gralde plugin as well as his InjectedTestRunner.
TestCoroutineRule library to simplify testing of coroutines.
Shared preferences mock is the lightweight library let you increase coverage of unit tests and simplify code for them with one line of code.
This library allows you to run Android UI tests multiple times in a single instrumentation execution. Written in Kotlin.
Get bored with writing tedious and dull model tests?
Vago helps you write tests based on POJOs and supports test generation for POJOs transformations.
Allows to use green-coffee together with Android Test Orchestrator.
Deploy new features to a choosen percentage of uers before delivering it to everyone.
It's useful to see if the new feature is appreciated by users, and do some adjustment before the grand opening.
An A/B Testing Library for Android that makes writing simple tests simpler by using annotations.