Jarosław Michalik

KotlinTesting.com author, Android developer

Talk Title

De-mock your tests

Room

Liskov

Date

06.07.2022

Time

16:10 > 40 min

Share

on Twitter

You don’t need mocks. At least you don’t need them for the most of the time. Using frameworks such as Mockito or MockK every single time is like taking a sledgehammer to crash a nut. Don’t get me wrong – mocking frameworks are great in their use cases. The sad truth is: overusing mocks can and will harm your codebase. In this talk you will learn ways of writing simple, manageable test doubles. Of course without third-party frameworks. In pure Kotlin. So if you’re interested in de-mocking your code, come to this talk!

Speaker Bio

I teach developers how to navigate efficiently in the complex world of unit testing.

Menu