Contract testing at a glance

Testing microservices

This is fine

Enter Contract Testing

"consumer": {
"name": "my-consumer"
},
"provider": {
"name": "my-provider"
},
"interactions": [
{
"_id": "fd0c3e907b1e128d241810303938b04884b3f242",
"description": "Get data from provider",
"request": {
"method": "POST",
"path": "/some/path"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"body": true
}
}]

What is PACT ?

Baby don’t hurt me, no more

Pact at Tipalti

Contract tests

Local development / Pull request

Post PR

Release pipeline

pact-broker can-i-deploy --pacticipant "MyServiceName" --version 23jsa45bg --to "prod" additional parameters omitted

TL;DR

--

--

Software architect at Tipalti

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store