a

    AnaR

    8 months ago
    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.
    kpgalligan

    kpgalligan

    8 months ago
    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

    AnaR

    8 months ago
    Thank you
    Grégory Lureau

    Grégory Lureau

    8 months ago
    We're using MocKMP too, just adding an alternative to the list: MockingBird
    kpgalligan

    kpgalligan

    8 months ago
    Some day somebody is going to just figure out an IR plugin implementation, but until then, all interfaces 😃
    Mustafa Ozhan

    Mustafa Ozhan

    8 months ago
    kpgalligan

    kpgalligan

    8 months ago
    Anything you're not happy about? Just wondering if there's anything behind "pretty happy".
    Nicklas Jensen

    Nicklas Jensen

    8 months ago
    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 🙂
    Mustafa Ozhan

    Mustafa Ozhan

    8 months ago
    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