ktor Intro to testing Ktor controllers Functional tests in Ktor - how to mock application server with TestApplicationEngine?
repository 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.