Overview
Recipes and pre-built integrations to test common scenarios in Pact
Recipe/Integration | Description |
---|---|
GraphQL | Strategies for testing GraphQL endpoints (example with Apollo) |
API Gateway | Strategies for dealing with API Gateways, such as AWS API Gateway, Kong etc. |
Lambda/FaaS (Asynchronous) | How to write contract tests for asynchronous lambda functions / FaaS |
Lambda (HTTP) | How to write contract tests for HTTP based lambdas with AWS SAM |
Cypress | Best practices for integrating Pact with Cypress, and converting your cypress cy.route() / cy.intercept() calls into pact files |
MSW | Library for integrating MSW with Pact |
NestJS | Library for integrating Pact with NestJS |
Kafka | How to test Kafka messages with Pact |
Jest | A Pact adaptor for to allow you to easily run tests with Jest |
Mocha | A Pact adaptor for to allow you to easily run tests with Mocha |