¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: [TDD] Three Law of TDD - to strictly follow, or not?


 

¿ªÔÆÌåÓý

On 14/8/26 17:48, Kaleb Pederson kaleb.pederson@... [testdrivendevelopment] wrote:
?
Do you consider, "an incomplete but green test is at best misleading and at worst wrong"?

You might want to consider the difference between a test during development locally and a test that have been checked in to the common repository.

I have been confused by tests with names saying they check something that is not checked, making me spend time searching for problem in the wrong place.
On the other hand during TDD it is rather important to know that the test actually fails, like you and others describe. The key as I see it is if the test is committed or not. Mostly the tests confusing me have come from being interupted while they happened to be green and then missing that they was not compete when coming back.

Regards,
//Samuel

Join [email protected] to automatically receive all group messages.