From: "Hal E. Fulton" Date: 2001-10-23T02:16:26+09:00 Subject: [ruby-talk:22975] Re: First steps in unit testing ----- Original Message ----- From: Massimiliano Mirra To: ruby-talk ML Sent: Monday, October 22, 2001 4:45 AM Subject: [ruby-talk:22949] Re: First steps in unit testing > On Mon, Oct 22, 2001 at 09:55:13AM +0900, Nat Pryce wrote: > > The readability of example 3 is *very* important. Unit tests have three > > uses in a project: (a) defining the expected behaviour of a class in terms > [...] > > To improve readability I would modify the tests to specify what Point.new > [...] > > Your suggestions improved both my testing class and my understanding > of the whole business a lot, thank you! > > Massimiliano > I'll second that, as someone who didn't add to this thread but still learned from it... Thanks for asking these questions, Massimiliano... :) Hal