Stubbed Mock is an open-source library written in Kotlin for JVM that allows users to stub data models in a Mockito-like fashion during unit tests.
Stubbed Mock supports many language features like plain Java and Kotlin classes, constructor and field injection of stubbed values, lazy, Kotlin's backing field properties and more.
Important to note: This library isn't meant to replace Mockito and doesn't mock class (or function) behavior. Its primary use is for data model classes.
Mocking library for Kotlin.
Nice features
CursorMock is a library for Android that helps testing SQLite related code without need to create testing databases, managing database connections, etc in/for testing environment. CursorMock gives ability to build a Cursor in a fast and reliable way from manually provided values or from data objects.
A JUnit rule to easily override Dagger 2 objects.
Android specific assertions and mocks for mockito for cleaner test code.
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.
Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with clean & simple API. Mockito doesn't give you hangover because the tests are very readable and they produce clean verification errors.
EasyMock has been the first dynamic Mock Object generator, relieving users of hand-writing Mock Objects, or generating code for them. EasyMock provides Mock Objects by generating them on the fly using Java's proxy mechanism.
Android Mock is a framework for mocking interfaces and classes on the Dalvik VM.