ECE444 Software Engineering Lab 6: TDD Testing Marinette
I got my answers from these resources: https://devqa.io/pros-cons-test-driven-development/ https://stackoverflow.com/questions/64333/disadvantages-of-test-driven-development
Pros | Cons |
---|---|
- TDD helps to make more modular code, as individual components need to be able to be tested separately - Helps in debugging to find mistakes and might even prevent stupid mistakes - Often results in more organized code structure as developers are forced to consider testing integration |
- Time-consuming - Tests have to be constantly updated and maintained - Can slow down development at the start due to learning curve |