If you have ever tried writing any non trivial tests, mocks should not be a stranger to you. But what about some other “mock” like objects like stubs, spies and such? How are they different from each other? In this blog post, I will explain it as simple and easy to remember as possible. Everything is a test double. Test double is just a general name for all mock like objects.
Test Driven Development
I stumbled upon this video, and boy it is so amazing! (if you ignore the annoying audience asking non-stop some annoying questions). This is clearly one of the most inspiring videos I have ever watched. So I must take some notes down and spread the idea as well. I deeply believe that it is actually easy to make things complicated, on the contrary, it is hard to make things simple and elegant.