Monday, December 12, 2022

Test Driven Development (TDD) more then software tests

In the practice of software projects and software developers there are great misunderstandings about test-driven development (TDD). Most developers do not see or know the difference between JUnit testing and TDD. They believe that TDD is a theoretical, time-consuming testing approach.

 TDD is more then testing:

  1. Proof that your code does the expected thing
  2. Safety net for (your ongoing) refactorings
  3. Helps you to separate concerns in your code
  4. Last but IMHO most important, TDD is the spec of your code


PS: If you think you have to spend more time for the TDD, try it without.

No comments:

Post a Comment