4 ms·
Well designed tests lock down features not code. That's why I mostly write integration tests. I write unit tests once the project is stable and usually only fo
by cryptica 7y ago
Well designed tests lock down features not code.
That's why I mostly write integration tests.
I write unit tests once the project is stable and usually only for parts of the logic that are either very complicated or operationally critical. I try to avoid implementing 'very complicated' modules as much as possible.
- the_gipsy 7y agoDo you mean e2e tests? Because those are the only ones that test features. Integration tests are the biggest offenders of "code lockdown". They don't really test features, yet they have to observe too many implementation details. Unit tests can't really lock down code, or then we shouldn't call those "unit" anymore.