bookmark

jmockit: JMockit Home Page


Description

JMockit Core consists of a single class with a small set of static methods, which allow arbitrary methods and constructors of any other class to be replaced with mock implementations at runtime.

This facility can be used for writing unit or integration tests, enabling the isolation of code under test from other parts of the codebase. This approach is an alternative to the conventional use of "mock objects" as provided by tools such as EasyMock and jMock.

Preview

Tags

Users

  • @schmitz
  • @gresch

Comments and Reviews