January 18, 2006

Posted by John

Tagged testing

Older: Answers for the Rails skeptics

Newer: An unofficial Ruby on Rails mailing list

The how and why of Rails unit testing

Kevin Clark has posted [an in-depth blog post on why unit testing is important, and the best way to go about it](http://glu.ttono.us/articles/2005/10/29/why-and-how-ruby-and-rails-unit-testing).

> One thing I love about Ruby is the built in unit tests. As someone who is working to use better developing methodologies, having unit testing avaliable with no effort makes it that much easier to try out things like Test Driven Development. Unit testing also has an important place in Rails development.

There are plenty of code examples and a step-by-step process of running a test. Very helpful.

0 Comments

Thoughts? Do Tell...


textile enabled, preview above, please be nice
use <pre><code class="ruby"></code></pre> for code blocks

About

Authored by John Nunemaker (Noo-neh-maker), a web developer and programmer who has fallen deeply in love with Ruby. More about John.

Syndication

Feed IconRailsTips Articles - An assortment of howto's and thoughts on Ruby and Rails.

Feed IconRails Quick Tips - Ruby and Rails related links.