JMock website screenshot

JMock

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.

JMock publishes 1 API on the APIs.io network. Tagged areas include Java, Mock Objects, Mocking, TDD, and Testing.

JMock’s developer surface includes documentation and 6 more developer resources.

14.9/100 emerging ▬ flat Agent 3/100 human only self hosted · BSD-3-Clause Full breakdown ↓
scored 2026-09-14 · rubric v0.22.0
AccessFreemium
1 APIs
JavaMock ObjectsMockingTDDTestingUnit Testing

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-14 · rubric v0.22.0
Create-or-Update Ergonomics could not be measured. We hold no machine-readable contract for this provider to read, so there is nothing to measure a write surface against. Excluded rather than scored zero: never-measured and measured-empty are different facts. Publishing an OpenAPI is what makes this facet — and several others — scorable at all.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/jmock: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 1

Individual APIs this provider publishes, each with its own machine-readable definition.

JMock Core API

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 seamles...

Pricing Plans 1

Published pricing tiers and plan structures.

Jmock Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Jmock Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Jmock Finops

FINOPS

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Jmock Domain Security

TLSv1.3

SECURITY

Resources

Documentation 1

Reference material describing how the API behaves

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 1

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: jmock
name: JMock
description: 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.
type: Index
deliveryModel:
  model: self-hosted
  license: BSD-3-Clause
  open_source: true
  commercial: false
  callable_host: false
  label: Self-hosted open source · you run it yourself
  confidence: high
  source:
  - license
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/jmock.png
tags:
- Java
- Mock Objects
- Mocking
- TDD
- Testing
- Unit Testing
humanURL: http://www.jmock.org/
url: https://raw.githubusercontent.com/api-evangelist/jmock/refs/heads/main/apis.yml
created: '2024-01-01'
modified: '2026-04-28'
specificationVersion: '0.23'
apis:
- aid: jmock:jmock-core-api
  name: JMock Core API
  description: 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.
  humanURL: http://www.jmock.org/
  tags:
  - Java
  - Mocking
  - Testing
  properties:
  - type: Documentation
    url: http://www.jmock.org/documentation.html
  - type: GettingStarted
    url: http://www.jmock.org/getting-started.html
  - type: Cookbook
    url: http://www.jmock.org/cookbook.html
  - type: Cheat Sheet
    url: http://www.jmock.org/cheat-sheet.html
  - type: JavaDoc
    url: http://www.jmock.org/javadoc/2.12.0/
  - type: GitHubRepository
    url: https://github.com/jmock-developers/jmock-library
  - type: Maven Central
    url: https://mvnrepository.com/artifact/org.jmock/jmock
common:
- type: Releases
  url: https://github.com/jmock-developers/jmock-library/releases
- type: License
  name: BSD-3-Clause
  url: https://github.com/jmock-developers/jmock-library/blob/master/LICENSE
- type: DomainSecurity
  url: security/jmock-domain-security.yml
- type: Website
  url: http://www.jmock.org/
- type: Documentation
  url: http://www.jmock.org/documentation.html
- type: GitHubOrganization
  url: https://github.com/jmock-developers
- type: Issues
  url: https://github.com/jmock-developers/jmock-library/issues
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/jmock"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/jmock/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/jmock/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.