WIP – Mocks: is more always better?
Mocking and stubbing are, without any doubt, important techniques for a modern software developer to master. But can there be too much of the mocking goodness?
In this presentation, I will argue that not all mocks are equally is good. I will offer two ways of decreasing the mock addition: refactoring for testability and climbing up the testing pyramid.
Inspiration
Video from Devoxx Poland 2019: Automated tests: You won’t find it in a book! - Jacek Milewski https://www.youtube.com/watch?v=PQe8VruXipc