Any recommendations for KMM libraries to use for M...
# multiplatform
a
Any recommendations for KMM libraries to use for Mocking for tests? I've found MMock from Pega Systems and Karmok from Touchlab so far, but haven't tried them yet. Please also share thoughts if you've tried either of them.
k
Karmok was something we tried a while ago and we don’t really use it now. It’s roughly similar to Kodein’s thing (https://github.com/Kodein-Framework/MocKMP) in that it would generate mock code for interfaces. MMock looks the same. I should archive Karmock I guess…
Archived!
a
Thank you
g
We're using MocKMP too, just adding an alternative to the list: MockingBird
👍 1
k
Some day somebody is going to just figure out an IR plugin implementation, but until then, all interfaces :)
m
🙌 1
👋 1
k
Anything you're not happy about? Just wondering if there's anything behind "pretty happy".
n
I created Mockative because my team and I at Cardlay were missing a great mocking library for Kotlin Multiplatform (specifically Kotlin/Native). Feel free to reach out to me if you have any questions about it 🙂
m
Well I am not a unit test expert maybe someone who has more experience can give better feedback 🙂 For me It does everything about mocking, maybe one down side is, it just mocks the interfaces so far but as i say it covers my all needs 🙂 and @Nicklas Jensen is so responsive about newly created issues