JMock is a library that supports test-driven development of Java code with mock objects. It provides an expressive API for defining expectations and mock behavior in unit tests, integrating with popular testing frameworks including JUnit. The most recent stable release is jMock 2.13.1.
URL: Visit APIs.json URL
- Type: Index
- Position: Consuming
- Access: 3rd-Party
- Java, Mocking, Testing, Unit Testing, TDD, Mock Objects
- Created: 2024-01-01
- Modified: 2026-04-28
Core library for creating mock objects and defining expectations in Java tests using an expressive DSL. Supports JUnit 4 and JUnit 5, modern JDK versions, and integrates seamlessly with IDE refactoring and autocompletion tools.
Human URL: http://www.jmock.org/
- Java, Mocking, Testing
FN: Kin Lane
Email: kin@apievangelist.com