News for hackers. Stuff that matters.
Re:We don't write tests. There just isn't time for luxuries. by imsteve on Thursday October 04, 2007 @04:14AM (#62941)
By refactor he means to change the purpose of the code, not just the implementation. Your tests will not cover this.
Re:We don't write tests. There just isn't time for luxuries. by euccastro on Thursday October 04, 2007 @06:32PM (#63243)
Does he? Then he's using the wrong word. Refactoring is changing the implementation while keeping the interface and semantics.

Which, I agree, is one of the shortcomings of unit testing: placing an additional burden on improving interfaces and semantics.