Preface

Pete Hodgson used to joke that building your own mocking framework was a rite of passage for ThoughtWorks developers. Those days are past, not because ThoughtWorks doesn’t care about testing anymore (we do, very much), but because the tooling around testing is a lot better, and because we have more interesting problems to focus on nowadays. In the winter of 2014, I had a testing problem, and it turns out that not being able to test prevents you from focusing on those more interesting problems.

We had adopted a microservices architecture but were limited by some of the legacy service code we were strangling out. The idea of service virtualization—using tests to mock up downstream network dependencies—was not new to us, even if the term ...

Get Testing Microservices with Mountebank now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.