Hello world.
In a cloud-native or microservice architecture it is common to have a business layer service that uses a client to communicate with an external REST API to fetch data or perform some action on a remote system.
When it comes time to write unit tests for the business service we often need to mock that remote API in order to drive the tests. There are a number of ways to approach this, each with benefits and drawbacks. This post explores some patterns for mocking downstream APIs within unit or integration tests.
Read moreI am a software engineer with over a decade experience working in complex and demanding environments developing production-grade software. Currently focused on building and operating highly reliable cloud-scale systems on AWS.
Outside work I’m a dad, climber, mountain biker and skiier who loves travelling and getting outdoors.
An open source library for validating request/response interactions against a Swagger/OpenAPI specification.