Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Pacts to the Rescue! Making Your Microservices Play Nicely Together

NDC Conferences via YouTube

Overview

Discover how to make microservices work harmoniously together using consumer-driven contracts in this informative conference talk. Explore the challenges of integration testing in microservice architectures and learn how Pact offers a solution. Delve into the benefits of contract testing, including improved confidence, decoupled releases, and auto-generated documentation. Examine real-world examples, setup processes, and best practices for implementing Pact in your projects. Gain insights into when to use Pact, its language independence, and how it can potentially replace traditional integration tests. Enhance your understanding of microservice testing strategies and learn to balance confidence with responsiveness in your development process.

Syllabus

Intro
Integrated tests are a scam
The problem with integrated tests
Achieving test symmetry
The problem with mocks
Rainbows and unicorns
No automated tools
The downside of microservices
The gateway to production
System integration tests
Packed
Benefits of contracts
Realworld examples
Setting up the world
Setting expectations
Act and assert
Service Provider
Test Data
Provider State
Verification State
Provider Verification
Sharing Contract
Pact Broker
Autogenerated documentation
Decouple releases
Non HTTP services
Underlying principles
Do I still need integration tests
Confidence vs responsiveness
Ditching integration tests
Consumerdriven contracts
When should you not use Pact
Language independence
Summary
Questions

Taught by

NDC Conferences

Reviews

Start your review of Pacts to the Rescue! Making Your Microservices Play Nicely Together

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.