Skip to content
@pactflow

PactFlow

Contract testing for teams: the easy and safe way to ship distributed systems quickly.

PactFlow - The most comprehensive contract testing platform. Worry less about testing and deploying distributed systems.

Bi-Directional Contract Testing 🔥

Our new feature, Bi-Directional Contract Testing is a type of static contract testing where two contracts—one representing the consumer expectations, and another representing the provider capability—are compared to ensure they are compatible.

With this new feature you can choose:

  • Your consumer side testing tool—Pact, Cypress, Wiremock, MSW, Mountebank or build your own
  • Your provider side spec type—currently openAPI spec plus more coming soon
  • Your provider side verification tool—you bring your own tool
  • Your way of working—third parties, provider first, consumer first, design first, legacy systems
  • Your way to share with your PactFlow Broker—CLI Ruby / CLI Docker / Standalone scripts
  • To deploy on Fridays, with confidence, using PactFlow ⚡️

Getting started

Read the documentation for an overview or dive right into one of the supported adapters.

If you’re looking for something more hands-on, watch one of the demos below.

Videos

Consumer Driven Contract Testing 🔥

Fast, easy and reliable testing for integrating web apps, APIs and microservices

Say goodbye to end-to-end testing

Testing microservices shouldn't involve setting up complex end-to-end test environments, creating lengthy integration suites and managing test data. Stop wasting time, and start releasing.

  • dev Find bugs in dev - Prevent integration issues before you commit, instead of in production or during integration test
  • dev Deploy faster, safer & more often - Pact provides a guarantee that systems are compatible, so you can deploy your microservices and web apps independently and safely
  • dev Remove complex end-to-end environments - Reduce (or removing entirely) the need for complex, costly and hard-to-manage integration test environments
  • dev Stop relying on unreliable test data - Finding and managing test data is a key pain point for engineering teams - with Pact, you can significantly reduce your reliance on flakey test data
  • wave Say goodbye to painful release processes - With Pact and the Pact Broker, you can orchestrate complex CI and CD pipelines and use can-i-deploy to tell you when a component is safe to release
  • Collaborate Collaborate with the Pactflow Broker - Integrate into your CI/CD pipelines, manage and promote contracts with the Pact Broker
  • Work Work offline with API stubs - Pact's API stubs are guaranteed to represent behaviour of the real system, so you can test with confidence
  • Create Create bulletproof pipelines - Pact CLI tools + Pact Broker = powerful automation capabilities

Stats

Metrics

Popular repositories Loading

  1. pact-msw-adapter pact-msw-adapter Public

    Create MSW (mock-service-worker) mocks, and generate pact contracts from the recorded interactions.

    TypeScript 49 16

  2. example-consumer-cypress example-consumer-cypress Public

    Demonstrate running a consumer pact test with Cypress

    JavaScript 34 20

  3. example-consumer example-consumer Public

    An example of a consumer that uses Pact+PactFlow to create a consumer driven contract with its provider

    JavaScript 27 529

  4. pact-cypress-adapter pact-cypress-adapter Public

    Cypress Pact Plugin

    TypeScript 27 14

  5. terraform-provider-pact terraform-provider-pact Public

    Terraform provider for Pact Broker (and Pactflow)

    Go 24 4

  6. example-provider example-provider Public

    An example of a provider that uses Pact+PactFlow to honour a consumer driven contract with its consumer

    JavaScript 22 525

Repositories

Showing 10 of 70 repositories
  • pactflow/openapi-pact-comparator’s past year of commit activity
    TypeScript 1 0 1 1 Updated Mar 13, 2025
  • example-bi-directional-consumer-playwright-js Public

    Bi-Directional Contract Testing example consumer using a BYO testing tool (Playwright) to generate Pact consumer contracts

    pactflow/example-bi-directional-consumer-playwright-js’s past year of commit activity
    JavaScript 5 MIT 6 1 4 Updated Mar 13, 2025
  • example-consumer-cypress Public

    Demonstrate running a consumer pact test with Cypress

    pactflow/example-consumer-cypress’s past year of commit activity
    JavaScript 34 MIT 20 2 17 Updated Mar 13, 2025
  • example-bi-directional-consumer-cypress Public

    Cypress bi-directional contract testing example project

    pactflow/example-bi-directional-consumer-cypress’s past year of commit activity
    JavaScript 8 MIT 27 1 0 Updated Mar 13, 2025
  • terraform-provider-pact Public

    Terraform provider for Pact Broker (and Pactflow)

    pactflow/terraform-provider-pact’s past year of commit activity
    Go 24 MIT 4 5 2 Updated Mar 13, 2025
  • example-consumer-golang Public

    Example consumer with Golang

    pactflow/example-consumer-golang’s past year of commit activity
    Makefile 1 MIT 3 1 1 Updated Mar 13, 2025
  • example-provider-golang Public

    Example Gin Golang Provider

    pactflow/example-provider-golang’s past year of commit activity
    Go 1 MIT 4 1 2 Updated Mar 13, 2025
  • example-provider-python Public

    FastAPI example provider in Python

    pactflow/example-provider-python’s past year of commit activity
    Makefile 7 MIT 6 2 0 Updated Mar 12, 2025
  • pact-cypress-adapter Public

    Cypress Pact Plugin

    pactflow/pact-cypress-adapter’s past year of commit activity
    TypeScript 27 MIT 14 7 (3 issues need help) 12 Updated Mar 12, 2025
  • pact-msw-adapter Public

    Create MSW (mock-service-worker) mocks, and generate pact contracts from the recorded interactions.

    pactflow/pact-msw-adapter’s past year of commit activity
    TypeScript 49 MIT 16 8 (1 issue needs help) 3 Updated Mar 12, 2025