From: Jim Freeze Date: 2005-04-28T08:00:40+09:00 Subject: Re: Comments Are More Important Than Code * James Britt [2005-04-28 07:33:00 +0900]: > Dave Fayram wrote: > > BTW, what should one do when given code that does not pass unit tests? > Assume the main code is authoritative, and therefor correct, and change > the unit test? I don't follow this from the previous comments. Unit tests are code, not documentation. So, when a ut fails, you have two pieces of code that disagree. Using Dave's language, one (or both) of the peices of code have to be lying. :) -- Jim Freeze Code Red. Code Ruby