News for hackers. Stuff that matters.
Re:Your test suite is trying to tell you something by programminggeek on Wednesday July 03, 2013 @10:44AM (#5984822)
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.

Re:Your test suite is trying to tell you something by avelis on Wednesday July 03, 2013 @10:54AM (#5984901)
I agree. This example is a perfect candidate to further abstract the source to remove ambiguities and better test the expectations of the source.