Overview
Explore the testing paradigm of Consumer Driven Contracts in this 45-minute conference talk. Learn how API consumers can effectively communicate their service usage to API providers, enhancing software testing practices. Discover when and how to implement Consumer Driven Contracts, and understand their role in boosting developer confidence. Witness live coding demonstrations implementing Consumer Driven Contracts using the Pact framework. Gain insights into increasing velocity and reducing costs in microservices development by confidently building and deploying new versions without breaking dependencies. Understand the challenges of transitioning from monolithic designs to microservice architectures, and how Consumer Driven Contracts help maintain control over dependencies in distributed systems. Delve into topics such as creating endpoints, headers, and bodies, utilizing Pact Broker, generating dependency graphs, and performing pact verification tests. Examine the concept of Consumer Driven Development and explore API versioning strategies.
Syllabus
Introduction
The problem
How to avoid dependencies
Demo
Endpoint
Create headers
Create body
Create pact
Pact Broker
Dependency graphs
Pact verification test
Adding another pact
Status of the pact
Why does it fail
Consumer Driven Development
Address
Create API Version 2
Summary
Taught by
NDC Conferences