Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore contract testing for microservices using the Pact framework in this comprehensive conference talk. Learn how to address the challenges of microservice testing, including integration issues and system-level confidence. Discover the benefits of contract tests as a lightweight alternative to integration testing, providing faster feedback loops and improved development efficiency. Follow along with practical demonstrations using Quarkus, and gain insights into implementing Pact across various Java frameworks and programming languages. Delve into topics such as independent deployment, decoupled microservices, consumer-driven contract testing, and continuous testing. Understand the test pyramid, Pact Broker, and error flow handling. Address common challenges in microservice architecture and compare contract testing to other approaches like open API specs. Enhance your microservice testing toolkit and catch integration issues early in the development process.
Syllabus
Introduction
Independent Deployment
Confidence
Decoupled microservices
Every organization needs microservices
What happens when things go wrong
Demo example
Connection refused exception
Contract testing
Test pyramid
Pact
Consumer Driven Contract Testing
Continuous Testing
Fixing Name
Importing Pack
Pact Files
Pact Broker
Pact Farmer
Pact Provider
Test Template
Testing Fails
QA
Challenges with microservices
Disadvantages of using open API specs
Types of contract testing
Questions
Error Flow
ConsumerDriven Contract Testing
Taught by
IntelliJ IDEA by JetBrains