TDD (Test Driven Development) Flashcards
1
Q
TDD meaning
A
Test driven development
2
Q
What does it do?
A
Form of software development
Changing code to pass a certain test
A way of detecting what the code will do
3
Q
How does it work?
A
Add a test Run the tests Make changes Run tests again until it works Development complete
4
Q
Features of TDD
A
Clean and simple code Little code bloating Higher quality code Detailed documentation Reduced project development time Flexible Easy maintenance
5
Q
Strengths
A
Only write necessary code Easy maintenance Tests allow documentation of code Less time spent debugging Reliable solution
6
Q
Weaknesses
A
Slow process to complete Must be maintained if requirements change All members encouraged to do coding Tests aren't always reliable Tests may be hard to write