Pact-JVM
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What Pact-JVM is
Pact-JVM is the JVM implementation of the Pact consumer-driven contract testing library. Consumer tests can be written with JUnit 4, JUnit 5, Groovy, Spock, Kotlin or a Java DSL. Providers are verified through Gradle, Maven or Leiningen plugins, JUnit runners, or Spring support libraries. Spring modules target Spring 5, Spring 6 with Spring Boot 3, and Spring 7 with Spring Boot 4. The 4.7.x branch supports Pact specification V4 with plugins and requires JDK 17 or later. Message pacts cover interactions with message queues. The libraries have no native dependencies. A pact-jvm-server module is offered for stacks outside the JVM.
Written from the project's README, read .
- Category
- Contract testing
- License
- Apache-2.0
- Language
- Kotlin
- Changelog
- Releases on GitHub
Repository metrics
Status
activeLast commit within 90 days of the fetch date.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed contract testing tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Pact-JVM's, with its source.
Specmatic: Languages for writing tests: Platform and programming language independent executable. source: Docs: Continuous Integration
Prism: Contract or spec formats: OpenAPI v3.1, v3.0 and v2.0 (Swagger); Postman Collections. source: README
Pact Ruby: Languages for writing tests: Ruby with RSpec. source: README
Pact JS: Languages for writing tests: JavaScript on Node.js (Node 16+ as of pact-js v12). source: README
Pact Go: Languages for writing tests: Go (consumer package github.com/pact-foundation/pact-go/v2/consumer). source: README
Pact Net: Languages for writing tests: .NET (C# samples written with xUnit). source: README
Pact Broker: Contract or spec formats: Pacts; any contract that can be serialized to JSON. source: README
Spring Cloud Contract: Languages for writing tests: Contract DSLs in Groovy, YAML, Java and Kotlin. source: Docs: Contract DSL
Comparisons
Questions
Is Pact-JVM open source?
Yes. Pact-JVM is released under Apache-2.0, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is Pact-JVM maintained?
On 2026-09-22, the last commit to the default branch was on 2026-09-21, so the listed status is active. Rule: Last commit within 90 days of the fetch date.
How many GitHub stars does Pact-JVM have?
1,145 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is Pact-JVM written in?
The repository's primary language, as reported by the GitHub API, is Kotlin.
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: latest release, read
- GitHub REST API: contributors, read
- README, read