3 ms·
> Mocking introduces assumptions, which introduce risk. This boils down something I've had on my mind a lot of late. Though, with a different spin. I write a l
by sethammons 9y ago
> Mocking introduces assumptions, which introduce risk.
This boils down something I've had on my mind a lot of late. Though, with a different spin. I write a lot of Go. I prefer testing interfaces while some others what to use mock generators. This quote captures part of my reasoning behind avoiding mocks. I plan to write a detailed post at some point full of examples. I think this quote will work its way in there.
- michalc 9y agoI would be interested in reading it... if / when, if you can send me a link, that would be great!