Mocks and testability

Ali Haydar
14 min readMar 24, 2020

Most of the times, when we develop software, we rely on third party services to accomplish a certain outcome so that we don’t have to re-invent the wheel. However, this introduces a new level of complexity, especially around testability.

This post is based on a presentation I gave at the “Ministry of testing - Auckland” meetup. Mocking isn’t new, and there are lots of articles on the internet about it, but it is less frequent to see content about mocks in the context of a system testing or end to end testing. Hence, I am grateful for the opportunity to share my learnings about the topic.

Ali Haydar

Software engineer (JS | REACT | Node | AWS | Test Automation)