Consumer Driven Contract Testing - Raquel Bautista-Garrido thumbnail
A free account is required to view this content

Consumer Driven Contract Testing - Raquel Bautista-Garrido

I came across contract testing technique a few years ago at a test conference. Since then, every time I mention it I get a lot of comments like ‘What is that about?` `I have never heard of this before`.

While integration testing in isolation is becoming more requested and common, it raises a big concern between engineers, how do we know we are testing against the right assumptions? This is where contract testing can help us give us the confidence that we are testing the right thing and prove early our services can communicate.

I will explain my experience in applying this technique, why we chose Pact as the framework to do consumer-driven contract testing, and hopefully give you a better understanding to then know if this is something that you can introduce in your strategy and how.

 

Takeaways:

  • What is contract testing?
  • Why do you want to include it in your test strategy
  • Pact: a tool for consumer-driven contract testing
  • Not a solution for everyone, when and when not to use Pact

Comments

Sign in to comment
Explore MoT
Leading with AI - The London Edition image
Fri, 19 Jun
A half-day educational experience to navigate the world of AI
Modern integration testing: Tools, techniques, and strategies for continuous quality image
Go beyond with modern integration testing—with faster feedback, simpler debugging, improved scalability and maintainability. Take the step to implement new test types including contract testing of course.
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter