Agile Videos

Mocking to Integrate: How to isolate your app from external services

About this video

Dependencies over external services are definitely an issue for an integration test’s repeatability. We need to assure that our app can communicate effectively with its dependencies and that we are covering the most use cases with our set of tests.

When a test’s actions change the state of the ExS we are consuming, we aren’t able to predict the next result and therefore automated testing becomes a real pain.

But what if we could create a test environment mocking those annoying web services? And, what if we get to control the state and behaviour of those mocks for each test case?

This talk covers the following: the value of integration testing, test strategies and patterns including consumer driven stubs and contract testing, and some useful tools for mocking external services including Stubby4J.

Dependencies over external services are definitely an issue for an integration test’s repeatability. We need to assure that our app can communicate effectively with its dependencies and that we are covering the most use cases with our set of tests.

When a test’s actions change the state of the ExS we are consuming, we aren’t able to predict the next result and therefore automated testing becomes a real pain.

But what if we could create a test environment mocking those annoying web services? And, what if we get to control the state and behaviour of those mocks for each test case?

This talk covers the following: the value of integration testing, test strategies and patterns including consumer driven stubs and contract testing, and some useful tools for mocking external services including Stubby4J.

Speaker(s) may be willing to present this session at local group meetings and other events.

Discover the many benefits of membership

Your membership enables Agile Alliance to offer a wealth of first-rate resources, present renowned international events, support global community groups, and more — all geared toward helping Agile practitioners reach their full potential and deliver innovative, Agile solutions.

IMPORTANT: We have transitioned to a new membership platform. If you have not already done so, you will need to set up an account on the new platform to establish your user profile.

When you see the login screen, choose “Set up Account” and follow the prompts to create your new account. You can choose to log in using your social credentials for either Google or Linkedin (recommended), or you can set up your account using an email address.

Not yet a member? Sign up now