LWN.net Logo

More testing is better than less testing

More testing is better than less testing

Posted Oct 4, 2012 0:02 UTC (Thu) by nix (subscriber, #2304)
In reply to: More testing is better than less testing by oak
Parent article: KS2012: The future of kernel regression tracking

Does test code need tests?
That depends on its complexity. Testsuite engines are often complex enough to merit it, but it's hard to figure out a way to test most tests except to test the same thing again in a different way and make sure the results of both tests agree. If you know of a less tiresome way that doesn't require doing the same work more than twice (because thinking of a second way to test something is often harder than thinking of the first), I'm all ears.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds