Visions of Aestia

20 Jan 2005

Perils of stubbing

Filed under: Programming — JBowtie @ 4:05 pm

ongoing - Testing Backward

Tim Bray shares a common mistake made while unit testing. Note that even if you don’t unit test, you can waste the same amount of time doing debugging a problem like this.

For the most part, I have been using a NotImplemented exception when stubbing since the COM days (they had an E_NOTIMPLEMENTED code, as I recall).

Leave a Reply

Powered by WordPress