by rochacon · 5y ago · 0 comments
Testing behavior from the user perspective should be the goal, these are the kind of tests that bring most value in the long run.
I think a way to smell you're too far gone on this way is when you write tests only to get code coverage.
With behavior tests, code coverage should become a tool to show where your dead code is so you can remove it.