HTTP/2 200
date: Thu, 31 Jul 2025 11:13:44 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"51bfb7a0047194f8bac20b8d36082664"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=HsmwOsTB9LM88CWQronOQfIy7dTWkg4vV3R6MO0W5w7GBYiuwOGxsYNZytg%2FXcNbkqBedhP%2FNOdLC2FzK%2Bpc2ihU5NQVDRj%2FWBs9ivXtV%2B3poSt6G%2FJ2TFS3VaPVZ2Z3L%2Fy48%2FHRgNp%2FzTnfO6dVMtrzu%2F5dqObF8WMpjtytIdKFoveObRNN5zqitamtYhx8FGQ7UHDeWjZOQUXZyn8eLY7LeRFHLxTx9voED9lilvzR8uP8Q7BFgayLtHVsSeu5nTcObX5J%2FhXBp%2Bnkz2Bx1A%3D%3D--8BokHqu5V1Ns0p%2Bl--dIPhBSZdSG86TUaTd5N8Zg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1000685357.1753960423; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 11:13:43 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 11:13:43 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CF06:111CDC:8E1F84:AA2700:688B4FE7
Pact Foundation · GitHub
Pact Foundation
The cross-language distributed contract testing framework.
Pact is the de-facto API contract testing tool. Replace expensive and brittle end-to-end integration tests with fast, reliable and easy to debug unit tests.
⚡ Lightning fast
🎈 Effortless full-stack integration testing - from the front-end to the back-end
🔌 Supports HTTP/REST and event-driven systems
🛠️ Configurable mock server
😌 Powerful matching rules prevents brittle tests
🤝 Integrates with Pact Broker / PactFlow for powerful CI/CD workflows
🔡 Supports 12+ languages
Why use Pact? Contract testing with Pact lets you:
⚡ Test locally
🚀 Deploy faster
⬇️ Reduce the lead time for change
💰 Reduce the cost of API integration testing
💥 Prevent breaking changes
🔎 Understand your system usage
📃 Document your APIs for free
🗄 Remove the need for complex data fixtures
🤷♂️ Reduce the reliance on complex test environments
Watch our series on the problems with end-to-end integrated tests, and how contract testing can help.
Pinned
Loading
Developer Relations @ Pact - Your map to the Pact landscape for all-comers (maintainers, contributors, users, newbies)
43
7
Describes the pact format and verification specifications
303
29
Reference implementations for the pact specifications
Rust
97
50
Enables your consumer driven contracts workflow
Ruby
728
184
In-process mock server for matching HTTP requests and generating responses from a pact file
Rust
6
2
JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
TypeScript
1.7k
354
Repositories
Showing 10 of 82 repositories
pact_broker
Public
Enables your consumer driven contracts workflow
pact-foundation/pact_broker’s past year of commit activity
pact-python
Public
Python version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
pact-foundation/pact-python’s past year of commit activity
pact-foundation/docs.pact.io’s past year of commit activity
pact-reference
Public
Reference implementations for the pact specifications
pact-foundation/pact-reference’s past year of commit activity
pact-core-mock-server
Public
In-process mock server for matching HTTP requests and generating responses from a pact file
pact-foundation/pact-core-mock-server’s past year of commit activity
Rust
6
MIT
2
2
1
Updated Jul 31, 2025
pact-foundation/pact-consumer-minitest’s past year of commit activity
Ruby
4
MIT
3
1
2
Updated Jul 31, 2025
pact-ruby
Public
Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
pact-foundation/pact-ruby’s past year of commit activity
pact-php
Public
PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
pact-foundation/pact-php’s past year of commit activity
PHP
284
Apache-2.0
90
5
3
Updated Jul 30, 2025
pact-js
Public
JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
pact-foundation/pact-js’s past year of commit activity
pact-standalone
Public
Standalone Amalgamated Pact CLI - Broker Client / Mock Server / Provider Verifier / Stub Server / Plugin
pact-foundation/pact-standalone’s past year of commit activity
You can’t perform that action at this time.