Re:Unit Testing 101: Are You Testing Your JavaScript?
by cjohansen on Wednesday February 23, 2011 @04:37PM
(#2255920)
Test automation is about preventing bugs, sure. And TDD is about software design. I don't disagree.
However, unit testing is also a nice way to find bugs. In any case, "trapping" a bug like I did in this article is often an effective way of introducing newcomers to what a unit test is.
Re:Unit Testing 101: Are You Testing Your JavaScript?
by MartinCron on Thursday February 24, 2011 @07:39PM
(#2260511)
It was a good article. And using automated tests to trap and isolate problems is an important technique.
I didn't mean my nit-picking to come across as harsh and dismissive. I just get hung up on people talking about writing tests to find bugs, because if that's all it is about, manual testing is generally faster in the short-run.
Test automation is about preventing bugs.