2 ms·
I don't see it waning. I do see it dissolving more into general programming practice, as opposed to being a big deal in and of itself. What does seem to be wani
by gruseom 18y ago
I don't see it waning. I do see it dissolving more into general programming practice, as opposed to being a big deal in and of itself. What does seem to be waning is the evangelical fervor surrounding it, which seems like a good thing to me (though not to the author). Like other fads in software, unit testing was oversold.
Meanwhile, the logic of the article seems weak:
1. A company that claimed to auto-generate unit tests for your code failed? Give me a break. You can't write good tests without understanding what you're testing. If it could do that, why didn't it just auto-generate all your code in the first place? One needn't look far to see why this failed.
2. Few OSS tools have been adopted (except xUnit which is used massively)? This is normal. Most open source projects fail, a few succeed big. xUnit won. You don't need much else.
3. Not everyone teaches it? Why should everyone do anything?
4. Not many new unit testing books? There are many such books already. What don't they cover? Why should there be a whole book about JUnit 4?
5. Alternative unit-testing frameworks aren't used... see #2.
The author seems to think of unit testing as if it were a domain. It isn't, it's a technique. Why should there be an industry around it?