I was taught to do testing the classical way: a fileserver I wrote went wrong and deleted some files that I really wanted to keep. I spent the next week writing tests and now I have a fairly nice webDAV regression suite. And like you mentioned, I found a whole raft of odd bugs that I hadn't been able to track down before.

Now I have the confidence that my code (probably) won't blow up and delete someones work.

____________________
Jeremy
I didn't believe in evil until I dated it.


In reply to Re: Further adventures with testing by jepri
in thread Further adventures with testing by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":