Stack Explorer

Pact

Integration framework Open Source

Contract testing framework for microservices

Official site

Supported languages:

javascript java ruby python go csharp

Integrates with:

rest graphql grpc messaging

Pros and Cons

Ventajas

  • + Consumer-driven contracts
  • + Fast and independent tests
  • + Pact Broker for sharing contracts
  • + Multiple languages
  • + CI/CD integration

Desventajas

  • - Learning curve
  • - Requires mindset change
  • - Complex initial setup

Casos de Uso

  • Microservices testing
  • API contract testing
  • Consumer-driven development
  • Provider verification