https://kotlinlang.org logo
m

Matthias Geisler

03/25/2022, 6:51 PM
Hello lovely people I put a little thing together, which might be interesting for you. Any feedback is highly appreciated.
1
🎉 4
👍 7
i

ian.shaun.thomas

03/25/2022, 7:07 PM
this sounds really nice, mockk can be really finicky in my experience
m

Matthias Geisler

03/25/2022, 8:30 PM
Thx! If you have any questions or ideas feel free to open an issue or reply in this thread.
g

Grégory Lureau

03/26/2022, 4:45 PM
Nice work! Did you check the recent alternatives like mockmp or mockingbird (there was a 3rd one, I forgot the name)? They are just a few months old, so not sure if they are very famous yet.
m

Matthias Geisler

03/26/2022, 5:18 PM
Yes I did. Even used Mockative and MocKMP for comparison since I was a bit worried about compile time.
👍 2
I took a deeper look in each library as well to learn about potential weak spots or bugs or strengths of each approach.
👍 2
r

rocketraman

03/28/2022, 5:55 PM
Do you have a summary of those findings somewhere?
m

Matthias Geisler

03/28/2022, 7:28 PM
Well, somewhere 😄...most probably I write about that since the context is broader, as soon as I come to it. In general I found this article very inspiring, which you might know already. If you have specific questions, I can already answer here.
Small addition - last weekend I also read this article, which is more Kotlin specific. While I not totally agree with the statement made there, it points out some important things.
2 Views