

Idiomatic Kotlin in Tests
Jarosław Michalik
Android developer
KotlinTesting
Unit tests are boring and maintaining them is complex? Sometimes. But it doesn't have to be this way.
To create great readable tests with ease we have to go further than standard Java tooling. To achieve that we can incorporate idiomatic Kotlin into test code. It will help us design tests to be both developer and machine friendly.
During the talk we will refactor step-by-step Java with JUnit test to Kotlin with Kotest. We will look at differences between various tools and we will check how test tech stack choices are influencing developer productivity.
I will show practical application of Kotlin idioms in test, including, but not limited to, assertions, mocking and test suite definition.
I teach developers how to navigate efficiently in the complex world of unit testing.