From: Simon Schuster Date: 2007-09-07T12:51:30+09:00 Subject: Re: help me condence my code? eek. I've never written a unit test before. that's all incredibly murky territory.. not only am I new to ruby, but new to programming in general. I'll get around to it someday, I think. it just seems scary. :) On 9/6/07, Phlip wrote: > Simon Schuster wrote: > > > anyhow, the sloppy newbie code is as follows: > > Write unit tests for it, then refactor it, one tiny change at a time, > passing all the tests after each change. If the tests fail, undo the change. > > -- > Phlip > http://www.oreilly.com/catalog/9780596510657/ > "Test Driven Ajax (on Rails)" > assert_xpath, assert_javascript, & assert_ajax > > >