Re:Testing is waste of time, I know that my code works
by philwelch on Friday December 24, 2010 @06:47PM
(#2038254)
Hm, I think of testing as more of knowing a couple of 'what's' and checking whether our 'how' correctly reaches them. There's an infinite number of 'what's' and we obviously can't test them all, but with testing we generally take a hopefully useful sample of 'what's' and make sure that our 'how' reaches them correctly.
There is a style of testing where you devise two algorithms for the same thing and check whether they both reach the same result. I'm rather dubious of that style.
You can compare the 'what's of two 'how's -- that is what testing is doing.