<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>I.NFECTIO.US: Tag tdd</title>
    <link>http://i.nfectio.us/articles/tag/tdd</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>"Nothing in life is worth doing if you have no life while doing it"</description>
    <item>
      <title>Test Driven Development and Teenage Sex</title>
      <description>&lt;p&gt;Twenty years ago, I learned about sex for the first time. All my friends said they were doing it, although I think most of them were full of it and just wanted to look cool. I didn't know much about sex back then but I'd read about it in &lt;a href="http://en.wikipedia.org/wiki/The_Joy_of_Sex"&gt;The Joy of Sex&lt;/a&gt; and watched it on &lt;a href="http://www.cinemax.com/"&gt;TV&lt;/a&gt;. There's something about actually doing it that you don't understand through those other mediums.&lt;/p&gt;
&lt;br /&gt;
&lt;img src="http://i.nfectio.us/images/joyoftests.png" align="right" style="margin-right:10px;" /&gt;
&lt;p&gt;Learning about testing has been a very similar experience for me. I've known about it for awhile, all my programmer friends say they're doing it, and I've even read &lt;a href="http://www.amazon.com/gp/product/0321146530"&gt;Test Driven Development By Example&lt;/a&gt; by &lt;a href="http://en.wikipedia.org/wiki/Kent_Beck"&gt;Kent Beck&lt;/a&gt;. But doing it for the first time is a completely different experience. At first, I didn't know exactly what I was doing, I was aimlessly exploring the inputs and outputs, and before I knew it,  I'd had my first testing orgasm. The tests I was writing discovered a serious bug in my code. That's when it clicked for me, really understanding what test driven development is about. If I had written the tests first, the specific bug they revealed wouldn't have existed in the first place.&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;Now that I've popped my testing cherry, I want to keep doing it, and much like my first sexual partner, Rails makes it easy. And when you get comfortable with your new partner, you can  introduce great toys like &lt;a href="http://www.zenspider.com/ZSS/Products/ZenTest/"&gt;ZenTest&lt;/a&gt; that will improve your experience.&lt;/p&gt;
&lt;br /&gt;&lt;br /&gt;</description>
      <pubDate>Wed, 06 Sep 2006 20:21:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:ea479d8b-74d9-49f5-bbab-dbbf41ee7633</guid>
      <author>Bob Silva</author>
      <link>http://i.nfectio.us/articles/2006/09/06/test-driven-development-and-teenage-sex</link>
      <category>Ruby on Rails</category>
      <category>rails</category>
      <category>ruby</category>
      <category>testing</category>
      <category>tdd</category>
    </item>
  </channel>
</rss>
