4 ms·
If you listen to the pain or failings of your test suite, you will likely end up with better code. The problem is most developers when testing gets hard don't l
by programminggeek 13y ago
If you listen to the pain or failings of your test suite, you will likely end up with better code. The problem is most developers when testing gets hard don't look at their code and go "why does my code make this so difficult?" they wil say "testing sucks" and delete their tests.
It's amazing what you will learn if you pay attention to the pain.
- avelis 13y agoI agree. This example is a perfect candidate to further abstract the source to remove ambiguities and better test the expectations of the source.