Skip to content
@pact-foundation

Pact Foundation

The cross-language distributed contract testing framework.

Pact

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

  1. roadmap roadmap Public

    Developer Relations @ Pact - Your map to the Pact landscape for all-comers (maintainers, contributors, users, newbies)

    45 7

  2. pact-specification pact-specification Public

    Describes the pact format and verification specifications

    318 30

  3. pact-reference pact-reference Public

    Reference implementations for the pact specifications

    Rust 106 59

  4. pact_broker pact_broker Public

    Enables your consumer driven contracts workflow

    Ruby 745 195

  5. pact-core-mock-server pact-core-mock-server Public

    In-process mock server for matching HTTP requests and generating responses from a pact file

    Rust 10 2

  6. pact-js pact-js Public

    JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.

    TypeScript 1.8k 358

Repositories

Showing 10 of 92 repositories
  • pact-js-core Public

    Core binaries for pact-js, a Contract Testing Framework. NOTE: If you are looking to do Pact contract testing in node, you almost certainly want pact-js, not pact-node.

    pact-foundation/pact-js-core's past year of commit activity
    TypeScript 153 MIT 79 5 (1 issue needs help) 10 Updated Nov 16, 2026
  • 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
    TypeScript 1,827 358 89 (9 issues need help) 13 Updated Nov 16, 2026
  • homebrew-tap Public

    The Pact Standalone public homebrew tap for macos/linux homebrew formulae

    pact-foundation/homebrew-tap's past year of commit activity
    Shell 3 MIT 3 2 2 Updated Nov 16, 2026
  • choco Public

    Pact CLI tools available for Windows via Chocolatey (Choco)

    pact-foundation/choco's past year of commit activity
    PowerShell 0 MIT 0 0 1 Updated Nov 16, 2026
  • scoop Public

    Pact CLI tools available for Windows via Scoop

    pact-foundation/scoop's past year of commit activity
    Shell 0 Unlicense 0 1 0 Updated Nov 16, 2026
  • pact-plugins Public

    🏰 Architecture to support Plugins 🔌 with Pact 🔗

    pact-foundation/pact-plugins's past year of commit activity
    Rust 20 MIT 20 12 0 Updated Nov 16, 2026
  • pact-foundation/pact-5-minute-getting-started-guide's past year of commit activity
    JavaScript 19 608 1 4 Updated Nov 16, 2026
  • pact-go Public

    Golang version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.

    pact-foundation/pact-go's past year of commit activity
    Go 963 MIT 116 31 (2 issues need help) 19 Updated Nov 16, 2026
  • pact-foundation/pact-event-bot's past year of commit activity
    TypeScript 2 MIT 1 1 16 Updated Nov 16, 2026
  • 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
    Python 689 MIT 147 10 (1 issue needs help) 14 Updated Nov 16, 2026