Title: TDD and Testing
Slug: tdd-and-testing
Date: 2006-12-03 14:15:00
Author: Kartones
Lang: en
Tags: Testing, Development, Ruby, Patterns & Practices, .NET
Description: Discusses various articles related to Test Driven Development and testing, including an article about unit testing in Ruby, an explanation of mock objects in Java, an article about the pros and cons of white and black box testing, and an article about TDD Anti-Patterns. The post also mentions the release of NUnit 2.2.9.

 <p>While cleaning a bit the hundreds of unread RSS feeds I've got, I've
come to some very interesting articles related to Test Driven
Development and testing in general.<br><br>

First, <a href="http://grayproductions.net/ruby/first_steps.html">an article about unit testing</a>, including a full example in ruby of testing an IRC bot with mock objects. And what are mock objects? <a href="http://www-128.ibm.com/developerworks/rational/library/oct06/pollice/index.html">Here's</a> a quick explanation with a java example.<br><br>

I found too <a href="http://software-quality-testing.blogspot.com/2006/11/pros-and-cons-of-black-box-and-white.html">another article</a> about pros and cons of white and black box testing. Maybe too short, but serves as an introduction and gives few advices/tips.<br><br>

The most interesting thing I've found is <a href="http://blog.james-carr.org/?p=44">an article about TDD Anti-Patterns</a>. It contains a list of anti-patterns, each one with a description. <br>
Quite useful, as probably most of us have done at least one of them (<i>Excessive Setup</i> and <i>The Loudmouth</i>, for example).<br><br>

Oh, and there's a new version of <a href="http://www.nunit.org/">NUnit</a>, release 2.2.9 (mostly bugfixes and .NET 2.0 default runtime). <br></p>