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)

    41 7

  2. pact-specification pact-specification Public

    Describes the pact format and verification specifications

    297 29

  3. pact-reference pact-reference Public

    Reference implementations for the pact specifications

    Rust 93 46

  4. pact_broker pact_broker Public

    Enables your consumer driven contracts workflow

    Ruby 708 176

  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 3 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.6k 349

Repositories

Showing 10 of 82 repositories
  • homebrew-pact-ruby-standalone Public

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

    pact-foundation/homebrew-pact-ruby-standalone’s past year of commit activity
    Shell 3 MIT 3 0 2 Updated Nov 30, 2024
  • pact-js-cli Public

    The Broker CLI for Pact, but available to your node scripts

    pact-foundation/pact-js-cli’s past year of commit activity
    TypeScript 2 MIT 1 4 3 Updated Nov 30, 2024
  • pact-ruby-standalone Public

    A standalone pact command line executable using the ruby pact implementation and Travelling Ruby

    pact-foundation/pact-ruby-standalone’s past year of commit activity
    Shell 42 MIT 34 8 (2 issues need help) 2 Updated Nov 30, 2024
  • pact-ruby-cli Public

    Amalgamated Pact Ruby CLI

    pact-foundation/pact-ruby-cli’s past year of commit activity
    Shell 13 MIT 13 3 2 Updated Nov 29, 2024
  • pact-provider-verifier Public

    Cross-platform, generic language, Pact provider verification tool

    pact-foundation/pact-provider-verifier’s past year of commit activity
    Ruby 32 MIT 24 6 3 Updated Nov 29, 2024
  • rack-reverse-proxy Public Forked from waterlink/rack-reverse-proxy

    A Reverse Proxy for Rack

    pact-foundation/rack-reverse-proxy’s past year of commit activity
    Ruby 0 MIT 54 0 0 Updated Nov 29, 2024
  • 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-support Public

    Shared code for Pact gems

    pact-foundation/pact-support’s past year of commit activity
    Ruby 7 MIT 46 4 (2 issues need help) 3 Updated Nov 29, 2024
  • 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 578 MIT 137 46 (1 issue needs help) 6 Updated Nov 29, 2024
  • pact-plugins Public

    🏰 Architecture to support Plugins 🔌 with Pact 🔗

    pact-foundation/pact-plugins’s past year of commit activity
    Rust 19 MIT 11 14 3 Updated Nov 29, 2024