Beware of Auto-Reset Events (They Don’t Behave the Way You Think They Do)

So I just spent several days debugging an intermittent crash in some test code.  Part of the reason it took so long was because whoever wrote this code introduced a dependency on a legacy test component that was apparently so old that sources and symbols had disappeared.  So the first part of the diagnosis involved a bit…

4

Why Stepping Through Code Trumps Unit Testing

Over the past few years, there has been a big buzz about how writing unit tests (preferably via Test Driven Development) combined with code coverage is the silver bullet for keeping bugs out of the product.  While the benefits of unit testing are undeniable, there are quite a few folks out there who advocate unit…

3