Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.3 KB

README.md

File metadata and controls

14 lines (11 loc) · 1.3 KB

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.