Skip to content

A simple mocking library for Kotlin/Native and Kotlin/JVM with the goal of being Native-first with no dependencies other than Kotlin itself.

License

Notifications You must be signed in to change notification settings

LuckyMcBeast/kotmock

Repository files navigation

KotMock

Maven Central GitHub issues GitHub closed issues GitHub commit activity GitHub last commit Lines of code

A simple mocking library for Kotlin/Native and Kotlin/JVM with the goal of being Native-first with no dependencies other than Kotlin itself.

Why KotMock?

Though Kotlin does have existing mocking libraries, the two biggest being Mockito-Kotlin and MockK, however, those libraries are not compatible with Kotlin/Native and are also quite heavy. Other small libaries for mocking in Kotlin/Native exist as well, however, all of these libraries require Kotlin Symbol Processing API provided by Google, adding an extra dependency to your project. KotMock requires no dependencies aside from Kotlin, is easy to use, and has an intentionally small codebase.

Documentation is coming soon.

About

A simple mocking library for Kotlin/Native and Kotlin/JVM with the goal of being Native-first with no dependencies other than Kotlin itself.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages