Verifying Relationships: Consumer-Driven Contract Tests and Microservices

  • Locked
Thomas Shipley's profile
Thomas Shipley

Head of QA @ GlobalLogic

Verifying Relationships: Consumer-Driven Contract Tests and Microservices image
A free account is required to view this content
Talk Description
Microservice architecture brings many benefits but there is one potential pitfall when testing them. How do you model and test the many relationships between services? You could try integration tests but they are expensive to maintain, slow to run and come with orchestration complications.
Contract testing could help with this. But the traditional contract test has a circular problem. The team writing the service defines the contract and the test. As soon as this isn't kept up to date (only a matter of time) the test is useless.
A better approach is Consumer-Driven Contract testing. Here we use the output of contract tests owned by your consumers to test your API. This talk will introduce you to the Pact framework to write these tests and the key concepts. You will be able to avoid that integration test pack and have more time for other test activities in your team.
 
Thomas Shipley is a contract QA currently working with Equal Experts at John Lewis. He has experience across many different industries covering gaming, retail and big data. Previous companies include Microsoft, Just Eat and Datasift. Most recently he has been focused on API contract and performance testing. You can find out more at his blog https://tomdriven.dev
Thomas Shipley's profile'

Thomas Shipley

Head of QA @ GlobalLogic

Hi. I am Thomas Shipley and I work in Quality Advocacy. My career is focused on understanding what others in a team are doing. The impact of planned work, managing the expectations of stakeholders and analysing development changes. By asking questions of a team I can better understand the impacts of these changes. Understanding more I begin to coach teams. Sharing my expertise in testing with the team so they can start thinking more like testers themselves. I mentor, pair, persuade and promote towards my goal of shared quality ownership. Sometimes this is challenging but often worth it!
More Talks
AI in Software Testing: Benefits and Challenges Ministry of Testing Sarajevo

0h 12m 49s

FinTech Testing 101 Ministry of Testing Sarajevo

0h 21m 36s

Quality Coach vs Software Tester - Vernon Richards

0h 59m 36s