Ask HN: When do you guys start writing unit tests? Do you guys follow TDD approach? If you guys do, at what point do you start writing test cases? Any advantages you found by following this approach? |
Ask HN: When do you guys start writing unit tests? Do you guys follow TDD approach? If you guys do, at what point do you start writing test cases? Any advantages you found by following this approach? |
I sometimes use TDD when adding new functionality, I even created a relatively popular YouTube video on the topic. I find it most useful when I’m coding a particularly complicated function, helps me think through the problem better.
Or if I started weaving together lots of different parts of the project.