What is your favorite mocking framework for Kotlin?


#1

What is your favorite mocking framework for Kotlin and why?


#2

I use mockito-kotlin and I think it is great. It is very easy to use and has most of the features I want in a mock framework.


#3

Thanks. That looks nice, though a bit dated (Kotlin 1.1), I hope that this is not a bad omen.


#4

I don’t think it is only 1.1, but that he puts out a version that is compatible with 1.1 in addition to the latest Kotlin.


#5

Correct. We are running 1.2.30 without any issues.