loading...

re: Clean, DRY, SOLID Spaghetti VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Except one major type of bug is literally "incorrect behavior". ;) In other words, Testing shows the presence, not the absence of bugs. Just g...
 

Yes, i expressed myself poorly here. I could say that purpose of writing tests in TDD is to define the expected behaviour. And of course the purpose of the is to verify that the system is working correctly or at least as defined.

[The] purpose of writing tests in TDD is to define the expected behaviour.

...and...

Refactoring is an essential part of the process and cannot be done (most of the time) safely without tests.

I probably didn't say, but that was beautifully concise. You really should write an article about the goal of TDD. Many developers seem to lose sight of it a lot. ;)

Code of Conduct Report abuse