Re:TypeScript’s quirks: How inconsistencies make the languag...
by the_gipsy on Monday February 03, 2020 @05:43PM
(#22230165)
Do 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.
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.