3 ms·
> never mock the code that is under your control if you can help it. This is just nonsense. It'd effectively mean you only had integration tests. While they ar
by mellutussa 3y ago
> never mock the code that is under your control if you can help it.
This is just nonsense. It'd effectively mean you only had integration tests. While they are absolutely fantastic they are too slow during development.
- ActionHank 3y agoHad a colleague tell me I was testing wrong because Fowler doesn't like that way of testing - https://martinfowler.com/articles/mocksArentStubs.html https://martinfowler.com/articles/mocksArentStubs.html