Android developer portal with tools, libraries, and apps

Show: All / Free / Paid / Demo

Mocking library for Kotlin.

Nice features

  • mocking final classes and functions (via inlining)
  • pure Kotlin mocking DSL
  • matchers partial specification
  • chained calls
  • matcher expressions
  • mocking coroutines
  • capturing lambdas
  • extension function mocking
Jan 6, 2018

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.

Aug 28, 2017
Promotion

Fluent mockito.

May 24, 2016

A JUnit rule to easily override Dagger 2 objects.

Jan 6, 2016

Android specific assertions and mocks for mockito for cleaner test code.

Dec 25, 2015
Announcement

PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.

Jul 5, 2014
Commercial

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.

Jul 5, 2014

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.

Jul 5, 2014

Android Mock is a framework for mocking interfaces and classes on the Dalvik VM.

Jul 5, 2014