Session

Test doubles explained in Kotlin

Test doubles, also known as “mocks”, managed to gain a reputation for causing unreadable and hard-to-maintain tests. Is the screwdriver to blame for the inability to hammer in the nail?

In this talk, Jakub will go back to the origins of test doubles to explain scenarios when they’re best used. We’ll discuss various types of test doubles based on examples and show how to make them trustworthy. Finally, we’ll explore the possibilities of replacing auto-mocking libraries with hand-crafted test doubles using features of a modern programming language like Kotlin.

Jakub Zalas

Independent Software Consultant

London, United Kingdom

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top