DEV Community

loading...

Discussion on: TDD is an ethical matter

Collapse
markschweiger15 profile image
Mark Schweiger

TDD is still being associated with just writing (unit) tests and not as a design approach, and that's why these misconceptions you've mentioned aren't rare.
Clean code and caring about your code is what we should aspire to, and IMO TDD is the fastest (safest) way to achieve that.

Collapse
fefas profile image
Felipe Martins Author

TDD is still being associated with just writing (unit) tests and not as a design approach, and that's why these misconceptions you've mentioned aren't rare.

That is truth.. I've never thought that way. That is also a good I idea for a new post :) I still want to create a post with a step-by-step how I apply TDD on my projects and show how testing first will help with the design decisions.

I agree care is a keyword!

Thanks for the rich feedback!