TDD at its core is not about testing, it's about how to approach better code design. The idea is to think about the required structure of your code before you write it, based on incremental steps. TDD only looks at the public interface and thus is compatible with unit and integration testing. I believe that many people have a misconception of what TDD is. Andrea Laforgia has an interesting view on this: dev.to/andrealaforgia/why-test-driven-design-386c
Writing lots of tests. How can that be bad?
TDD is good only if you're testing the right thing.
While good coverage/documentation, as you said, is just good programming.
I think this is missing a point that actually TDD is a desing tool to do minimal code that solves a neas and not so much a testing tool.
Great opinion. Please minor edit is required from your part. In your post's title, I guess autocomplete inserted "Driver" instead your intednded word "Driven".
That's a great point of view Shai Almog! I've always been looking for opportunities to get my hands on TDD in practice by contributing to the open source. To be clear, we always do a little TDD in our minds. We implement based on the way want to use the components. The first time I heard about that (TDD), that seemed so stupid to me! Why would I write tests first? What am I going to even test then? Over time, I thought that would be a cool approach though. You're structuring your components and specifying the ways you want to use your utilities then you implement them by passing each test. I still believe in that way of development but that DOES NOT ensure the quality of my code for sure. Of course, I need to refactor once I wrote the components. I'm more of a unit-test guy than an integration-test. Looking forward to having your thoughts on mine. Thanks for sharing this awesome article again. :)
Chukwudume Adaeze
Software Test Engineer, with a passion for product quality, and empathy for End users, Call me a QA person with a CX vibe
Great opinion, Shai who's to say that a test designed pre code can't have it's own fault