<?xml version="1.0" encoding="windows-1252"?>
<node id="200817" title="Re: Further adventures with testing" created="2002-09-26 01:18:42" updated="2005-07-27 18:15:50">
<type id="11">
note</type>
<author id="31548">
jepri</author>
<data>
<field name="doctext">
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.&lt;P&gt;Now I have the confidence that my code (probably) won't blow up and delete someones work. &lt;p&gt;&lt;A HREF="/index.pl?node=Tk%20app%20to%20show%20the%20computers%20you%20are%20connecting%20to&amp;lastnode_id=1072"&gt;_&lt;/A&gt;&lt;A HREF="/index.pl?node=ForkMe&amp;lastnode_id=1072"&gt;_&lt;/A&gt;__________________&lt;BR&gt;
Jeremy&lt;BR&gt;
I didn't believe in evil until I dated it.</field>
<field name="root_node">
200767</field>
<field name="parent_node">
200767</field>
</data>
</node>
