(no title)
asgraham | 6 months ago
This also is ignoring that ideally business logic is implemented as a combination of smaller, stabler components that can be independently unit tested.
asgraham | 6 months ago
This also is ignoring that ideally business logic is implemented as a combination of smaller, stabler components that can be independently unit tested.
skydhash|6 months ago
Having a lot of tests is great until you need to refactor them. I would rather have a few e2e for smoke testing and valuable workflows, Integration tests for business rules. And unit tests when it actually matters. As long as I can change implementation details without touching the tests that much.
Code is a liability. Unless you don’t have to deal with (assembly and compilers) reducing the amount of code is a good strategy.