https://kotlinlang.org logo
#getting-started
Title
# getting-started
t

Timo Stark

03/01/2022, 7:25 PM
Hi Folks - I have a question and I am not sure whats the best palce to ask. I am working with Mockito tests and Kotlin and can't make my
given
stub working. Any Idea where to ask?
r

Richard Gomez

03/01/2022, 7:29 PM
Are you able to use mockk instead? https://mockk.io/
m

Matthias Geisler

03/01/2022, 7:30 PM
You use the kotlin version of mockito or the java version? And may I suggest you look into mockk...it changed my life and is programmatic in terms of Kotlin imo.
t

Timo Stark

03/01/2022, 7:30 PM
Sure. Let me try to port my code real quick. stand by.
m

mkrussel

03/01/2022, 7:35 PM
I really like the API for mockk but it was so much slower than mockito.
3 Views