Archive for December, 2011
Run/debug your way to brittle software!
While working on pynocle some time ago, I found myself getting away from TDD and going back to the more traditional “run-debug-fix” pattern. Write code you think is correct, run it to see if it is, if it isn’t, stick a breakpoint and see what’s wrong, change code, repeat until...
Read more
Validation routines as an intro to unit testing
For the past several weeks I’ve been introducing TDD and a focus on unit testing at work to the TA group. Well I introduced it months ago but am now just convincing (forcing) people to do it. This can be an imposing subject for people that have spent their...