3 ms·
Personally, I hate writing unit tests, especially if they require complex mocking of deeply nested dependencies. On the other hand, I love refactoring and/or u
by BerislavLopac 8y ago
Personally, I hate writing unit tests, especially if they require complex mocking of deeply nested dependencies.
On the other hand, I love refactoring and/or updating well-tested code much more, so I usually force myself to write tests -- up front as much as I can, but also after the code is written and functionality clearly defined.