https://kotlinlang.org logo
Title
p

Paul Woitaschek

10/29/2019, 7:15 PM
What do you use for mocking? Mockitos support for Kotlin is kinda meh, especially with coroutines and mockk seems kinda abandoned. There are lots of blockers and the author recently wrote that he has no time for mockk any longer.
w

wasyl

10/29/2019, 7:28 PM
What’s wrong with coroutines in mockito with mockito-kotlin? I’m not using coroutines yet so I’m curious
s

streetsofboston

10/29/2019, 7:29 PM
I love MockK
3
i

Ian Kerr

10/29/2019, 8:01 PM
I'm using Mockito-Kotlin: https://github.com/nhaarman/mockito-kotlin
1
s

Shawn A

10/29/2019, 8:19 PM
mockk is abandoned?
s

streetsofboston

10/29/2019, 8:23 PM
@Shawn A Why do you think it is abandoned. MockK last commit was 8 days ago?
s

Shawn A

10/29/2019, 8:24 PM
I don't think that. The OP mentioned it.
s

streetsofboston

10/29/2019, 8:24 PM
Ah… sorry, I somehow skipped over that part of the OP’s question 🙂
👍 1
p

Paul Woitaschek

10/30/2019, 6:13 AM
That's the link with the discussion; yes. There is the "stale bot" that just closes all issues: https://github.com/mockk/mockk/issues/356 The bot is still active and has closed a lot of important issues. And then there are a lot of issues that are unresolved forever, i.E. https://github.com/mockk/mockk/issues/281 https://github.com/mockk/mockk/issues/288 https://github.com/mockk/mockk/issues/339
o

oleksiyp

11/02/2019, 12:43 AM