1023 B
title, ring, quadrant
| title | ring | quadrant |
|---|---|---|
| PACT | trial | tools |
PACT (http://pact.io/) is a family of frameworks that provide support for Consumer Driven Contract testing accross different langauages and frameworks.
Consumer Driven Contract testing is a pattern for testing interfaces/boundaries between services.
It allows "consumers" to run tests against a defined Mock and record the defined interactions (=PACT). It puts "providers" in the position, that they can run the PACT tests inside theire Continuous Integration Pipelines, so that the provider knows if he might break any consumers.
This approach makes sense in organisations where teams collaborate more closely (See Strategic Domain Driven Design ), e.g. to build Microservice oriented architectures
Consumer Driven Contract Testing and how they can be done with Pact is documented very nicely on the official Pact website: https://docs.pact.io/.