3 ms·
> "Your test suite consists of neatly arranged files containing fully independent functions" They're not independent. They depend on the code being tested. Th
by mantrax4 13y ago
> "Your test suite consists of neatly arranged files containing fully independent functions"
They're not independent. They depend on the code being tested.
This isn't a problem for well chosen & well made tests (i.e. testing precisely interfaces and behavior that are intended to remain the same from release to release).
But due to various religious practices, most of the tests I've seen aren't like that. Instead, they're tightly coupled to the implementation of an app, which makes refactoring harder, not easier.