To Mock or Not to Mock, That is The Question

Mock Code That Is Irrelevant and Resource Heavy

Mock Code That Is Relevant and You Want Control Over

Keep Mocks to a Minimum Per Test

Final Thoughts

Lifelong learner working as a frontend engineer. React. Self Development and Reflection. Testing. Technical Blogging.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store