TL;DR Tests are specifications. Spek can make them more readable.

This post will showcase the use of Kotlin and Spek with Mockito and RxJava in Android Studio.

For the reasons what are they good for you can check out:

Setting things up

Dependencies and plugins.

Kotlin

To use Kotlin in Android Studio we need a Kotlin plugin. …

About

Josip Žemberi

Freelance Android Developer from Bremen, Germany.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store