January 20, 2005
Unit Testing Pitfalls
Tim Bray makes a very good point about unit testing. In essence, don't forget that you haven't implemented some methods yet when you're running your test suite. His solution, in Java, is to raise a generic RuntimeException.
Luckily, Guido's time machine has been at work here. Python has boasted a NotImplementedError exception since version 1.5.2.
Posted by Andy Todd at January 20, 2005 09:54 PM
Comments
We like Guido's time machine :)
Posted by: Richard Jones on January 21, 2005 07:09 AM