This commit is contained in:
Daniel Pötzinger
2018-05-22 15:17:55 +02:00
parent eb040f5d61
commit 58984efdc3
53 changed files with 0 additions and 0 deletions

17
radar/2018-01-01/pact.md Normal file
View File

@@ -0,0 +1,17 @@
---
title: "PACT"
ring: trial
quadrant: tools
---
PACT (http://pact.io/) is a family of frameworks that provides 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 to 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](/methods-and-patterns/strategic-domain-driven-design.html) ), e.g. to build [Microservice oriented architectures](/methods-and-patterns/microservices.html)
Consumer Driven Contract Testing and how it can be conducted with PACT is documented very nicely on the official PACT website: https://docs.pact.io/.