2 ms·
> We had a badly designed system and we adopted a unit testing strategy that said every class needed to be tested independently from every other class. Testing
by nunez 3y ago
> We had a badly designed system and we adopted a unit testing strategy that said every class needed to be tested independently from every other class. Testing this system was hard. It was a lot of effort with mocks and dependency wrangling to exercise our classes, and it produced brittle tests that never added any value in terms of the quality of the overall system.
Sounds like the codebase is the problem, not the tests. Too much tight coupling.