Most Unit Testing = Waste

I had a time to go through some items on my ever-growing reading list. One of those items was an a convincing takedown of the unit testing dogma: Why Most Unit Testing is Waste. I hope the juicy quotes below will convince you to read it:

Remember, though, that automated crap is still crap. And those of you who have a corporate Lean program might note that the foundations of the Toyota Production System, which were the foundations of Scrum, were very much against the automation of intellectual tasks

Relation between testing and quality:

Testing does not increase quality; programming and design do. Testing just provides the insights that the team lacked to do a correct design and implementation.

And when you’re not sure whether to leave or remove a test from your codebase:

So one question to ask about every test is: If this test fails, what business requirement is compromised?