Pact vs Stubborn Contract
Pact
pact.ioStubborn Contract
stubborn.shSide by side
| Figure | Pact | Stubborn Contract |
|---|---|---|
| Price from | $115.42/mo | Free |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 5 | 2 |
| Spec score · Contract Testing Tools | 8.7 (#2) | 7.3 (#19) |
| Languages | The Pact site lists implementations for JavaScript, Java and JVM languages, .NET, Go, Python, Swift and Objective-C, Ruby, PHP, and C++. | The Broker page lists Java, Kotlin, JavaScript, and TypeScript SDK support. |
| Purpose | Pact is a code-first tool for testing HTTP and message integrations with contract tests. | Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions. |
Plans
Pact
- PactFlow StarterFree
- Pact open-source toolingFree
- PactFlow Team (yearly)$115.42 a month
- PactFlow Team (monthly)$127 a month
- PactFlow EnterprisePriced on request
Stubborn Contract
- Open-source coreFree
- Enterprise PartnershipPriced on request
In their own words
Pact
Pact is a free, code-first tool for testing HTTP and message integrations with contract tests. Automated consumer tests create contracts describing concrete interactions between consumer and provider applications. Teams can then test each side in isolation against that shared contract, without deploying the entire system. Pact implementations are available for more than 10 languages, including JavaScript, Java, .NET, Go, Python, Ruby, Swift and Objective-C, Scala, Rust, PHP, and C++. Its CLI includes mock and stub servers, a provider verifier, a broker client, and a plugin CLI. The open-source Pact Broker shares contracts and verification results; teams can host and administer it themselves, and use its CI/CD workflows to check whether application versions can be deployed together. The verifier supports HTTP and asynchronous and synchronous messages, while plugins include gRPC, Avro, and CSV support. Documentation includes recipes for tools and scenarios such as GraphQL, Cypress, Kafka, and AWS Lambda. Pact is most useful when teams control both consumer and provider development. The free Broker is self-hosted, leaving its security, maintenance, and upgrades to its operator.
Stubborn Contract
Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions. The contract-testing core and Stubborn Broker OSS use the Apache 2.0 license and are free to use, modify, and deploy. YAML, Groovy, Java, and Kotlin formats are supported, and existing Groovy DSL, YAML, and Java DSL contracts can remain during migration. Contracts can be published through Maven or Gradle plugins or the CLI. Stubborn Broker verifies contracts across branches and services and offers a CI-oriented can-i-deploy check. Listed Broker capabilities include branch-aware governance, AI contract creation from captured HTTP traffic, and MCP integration for AI agents, with SDKs for Java, Kotlin, JavaScript, and TypeScript. Version 0.1.2 adds Spring-free Kafka, RabbitMQ, and JMS building blocks and runs on Java 17 or later. An OpenRewrite recipe automates mechanical migration. Broker can run locally with Docker on port 8080.