House of the Hanged Man has moved!

If you are not redirected in 10 second, please click here.


Podcast reviews have moved to The New, New Podcast Review

2005-01-20

ongoing · Testing Backward

ongoing · Testing Backward

I've never run into the particular problem that Tim encounters here, but that's not to say that I wouldn't - it seems a particularly easy mistake to make; once a method is stubbed out I think I as a developer tend to forget about it until I'm ready to fill it out, so it would be easy to rely on it to do something that it does in my brain but not yet in code.

The resolution discussed makes a great deal of sense, although I'm not sure that throwing an exception is necessary - one could just return the value "Method not implemented" - if that value is unacceptable you'll know soon enough.

0 Comments:

Post a Comment

<< Home