Chris McMahon wrote: > Your first pass is not going to be pretty. That's OK. My first pass > is procedural; Bret's first pass is crazy OOP or something; I don't > know what Jonathan's first pass is like, but I gather it has a lot of > code duplication. However you can get it to work. Actually, my first is typically to write another method in the test class. This is the reason that test methods have to start with the word "test": this allows you to write other methods (that don't start with "test") that your test methods can use. Once my test, using this method, is passing, then i start my "Crazy OOP" stuff (mostly use simple design patterns, actually).
Bret _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
