A Special Thanks
Aahz
aahz at pythoncraft.com
Tue Apr 21 10:52:51 EDT 2009
In article <slrnguqvne.eol.nick at irishsea.home.craig-wood.com>,
Nick Craig-Wood <nick at craig-wood.com> wrote:
>
>Python also converted me to using unit tests. If you add unit tests
>into your methodology above then when you re-organize (or refactor to
>use the modern jargon) the code you can be 100% sure that you didn't
>break anything which is a wonderful feeling.
Not quite: you can be 100% sure you didn't break anything you had
appropriate tests for. If you use pure TDD (test-driven development),
you can be pretty close to 100% comfortable, but my impression is that
few people do pure TDD.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur." --Red Adair
More information about the Python-list
mailing list