Functional tests in Ktor - how to mock application server with TestApplicationEngine?
Creating parameterized tests in Kotlin: data driven testing, collection inspections and generating test cases with FreeSpec.
Exceptions are crucial part of some Java APIs. How to assert that exceptions was thrown? In this note you will examples of various exception assertion techniques.
It's usually in our best interest to keep one assertion per test method. Yet, situation when more than one check in single test method is present may occur.