Skip to content

Monthly Archives: February 2012

Unit testing Cmd module derived classes

I’ll update this once I’ve figured it out. I’m writing a customised command-line task manager in Python using the Cmd¬†module. I’ve decided, for practice, to use nice test-driven development so I’ve kicked it off with a very simple Cmd-derived class and a corresponding test class. I’ve added a few very simple methods kicked off by […]