I went to BarCamp Manchester (UK) yesterday (we also sponsored the after party) and did a talk on testing which I've published on Slide Share:
Overview: you should test your code and require tests on code you are modifying, otherwise you can't be sure what effect your modifications have had and have no idea if you've introduced a regression or new bugs. There was a discussion at the end about while this being a great philosophy, it's not easy to stick to.
<div style="width:425px;text-align:left" id="__ss_289104"><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=testing-times-1204477333333160-4"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=testing-times-1204477333333160-4" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"><a href="http://www.slideshare.net/?src=embed"><img src="http://static.slideshare.net/swf/logo_embd.png" style="border:0px none;margin-bottom:-5px" alt="SlideShare"/></a> | <a href="http://www.slideshare.net/dhardiker/testing-times?src=embed" title="View 'Testing Times' on SlideShare">View</a> | <a href="http://www.slideshare.net/upload?src=embed">Upload your own</a></div></div>
Links to various resources for those interested in follow ups. Wikipedia offers good descriptions and overviews of the terminology used and explained during the talk (the slides unfortunately don't speak).
- http://en.wikipedia.org/wiki/Unit_test
- http://en.wikipedia.org/wiki/Integration_testing
- http://en.wikipedia.org/wiki/Acceptance_testing
- http://en.wikipedia.org/wiki/Test-driven_development
Software I mentioned during the talk is:
- http://cruisecontrol.sourceforge.net/
- http://emma.sourceforge.net/
- http://cobertura.sourceforge.net/
- http://www.atlassian.com/software/bamboo/ (commercial)
- http://www.atlassian.com/software/crucible/ (commercial)
- http://www.atlassian.com/software/clover/ (commercial)
I'm not suggesting you need to buy software, I'm suggesting you need to use software (free or otherwise) to give yourself a test platform and therefore confidence in your code.

