What Happened

Select a session to learn more about it.

  • Lewis Prescott
  • Introduction to Contract Testing with Pact
    Lewis Prescott
    99 Minute Workshop

    Introduction to Contract Testing with Pact

    What

    99 Minute Workshop

    Description

    Want to take your API testing to the next level? Want to deploy micro-services with more confidence and move to continuous deployment? Then you are in the right place, contract testing is for you.

    Ask yourself these questions:

    1. Are your integration tests slow and provide feedback too late causing delays to your release?
    2. Do your integration tests fail due to environment and data issues?
    3. Does changes to other teams API service cause your tests to fail?

    Some of the benefits you can gain from contract testing:

    1. Run your API contracts before an integration environment is available.
    2. Run your API contracts in your pipeline as part of the build.
    3. Involve developers in your API testing with API Contract testing

    In this session you will learn the fundamentals of contract testing as well as how to implement consumer driven contract testing with Pact & Pactflow. Contract testing can be applied to API or messaging services, allowing you to test any integration point in isolation (https://docs.pact.io/#what-is-contract-testing). This technique is ideal for delivering services within a microservice architecture confidently, for example an API client communicating with a web front-end.

    Introduce API contract testing to your test suite to:

    • Open communication between siloed microservices
    • Faster feedback from API changes - Less interruption from integration issues
    • Visualise consumer led scenarios of how they use the API
    • API Versioning made easy to improve backwards compatibility

    Takeaways

    • Understand what contract testing is
    • Identify key differences between contract tests and integration tests
    • Run simple consumer driven contract test

    Speaker

    Lewis Prescott
    Lewis Prescott
    QA Lead
    I'm an experienced QA Lead at Cera Care (one of Europe’s fastest-growing companies), having worked across different industries including Healthcare, Non-profit, Retail and PropTech. I am also a course author on Test Automation University & Udemy, sharing my knowledge is a passion of mine.

    Frequently Asked Questions

    Are the Workshops Recorded?

    Our 99-minute workshops are designed to be attended live. If you can’t make the scheduled time, we will add highlights of the workshop in the future once the workshops are complete.