Donaldson, John
¿ªÔÆÌåÓýI think all the answers have been wise and sensible. But then, I think the answers all come from ¡°Ha¡± or ¡°Ri¡± practitioners, and I suspect Kaleb was talking to ¡°Shu¡± people. (If you are wondering what I am talking about, there¡¯s a concise explanation of ¡°ShuHaRi¡± here: ) ? I¡¯d really like a beginner to try to stick to three rules pretty strictly, with the probably addition of Samuel¡¯s ¡°Commit¡±. ? John D. ? From: testdrivendevelopment@... [mailto:testdrivendevelopment@...]
Sent: 27 August 2014 14:55 To: testdrivendevelopment@... Subject: Re: [TDD] Three Law of TDD - to strictly follow, or not? ?
Exactly. You should only commit the test after you've gone through the full Red-Green-Refactor. In fact, assuming you're using DVCS or your own branch, I would go so far as to say that you should always Red-Green-Refactor-Commit. I've written more on this here: ? ? On Wed, Aug 27, 2014 at 4:09 AM, Samuel ?slund samuel@... [testdrivendevelopment] <testdrivendevelopment@...> wrote:
|