Parametrized tests with Spek
Using Spek to generate test cases
Building Unit Tests for ViewModel in TDD style
In this example we will try to implement VenueDetailsViewModel in TDD style. TDD (Test Driven Development) is development technique, where developer relies on unit tests created before actual implementation.
Testing with Kotlin – Mobilization 2018 conference talk
KotlinUnitTesting – repository with examples
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.