April 29th, 2008

device

*That* is why I spend so much time writing the test harness

I've started to develop a real bias for self-documenting tests. Here's the regression test I just got working:Collapse )You can kind of figure out what that's doing even if you don't know the system, and it's wholly obvious if you do. The comments are almost redundant. *That* is what a really good test should look like in my book: clear, concise, and trivially easy to write new one...