News for hackers. Stuff that matters.
Re:How We Nearly Lost the Discovery Shuttle by guelo on Friday August 17, 2012 @04:43PM (#4398696)
This reminded me of the problem of unit testing vs integration testing. Sometimes, no matter how much code coverage you have, the unit tests don't find that critical bug that takes everything down. Just like testing the 2 square feet of foam didn't find the problem. You also need integration testing.
Re:How We Nearly Lost the Discovery Shuttle by einhverfr on Saturday August 18, 2012 @03:26AM (#4400504)
Yeah. One of the key lessons I have learned about software testing is the idea of layered unit tests. A given unit test will often fail to find a significant problem so you get around this by having a bunch of low-level unit tests, followed by ever-increasing levels of tests which test how the various layers work together. You still won't find that critical bug that is discovered later because someone somewhere is doing something you aren't thinking of at the time, but it ultimately gives you a better understanding of the whole system.