Not all integration tests are a scam, not all mocking is evil, and not all unit tests are useful. Trade-offs depend on architectural choices, the use of databases and frameworks. I will walk through the evolution of my own style of writing tests, focusing on their value, cost and agility. Finally, I’ll share my current preferred style of testing microservices.
CodeRetreat workshop facilitator, meetup organizer, TDD advocate. Has spent most of the last 15 years developing backend and full-stack solutions for the enterprise.