|
|
|
|
|
by greggman
5003 days ago
|
|
Is TDD supposed to prevent bugs? I thought the main point of TDD was it was suppose to encourage better design. First write the test. This is supposed to make you think more about the API and how you'd like to use it. Then write the implementation now that you've effectively tried using the API by writing the test. That why it's called Test DRIVEN Development. If all you're doing is writing unit tests that's not really TDD, that's just writing tests. |
|