TDD (Test Driven Development) Flashcards

1
Q

TDD meaning

A

Test driven development

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does it work?

A
Add a test
Run the tests
Make changes
Run tests again until it works
Development complete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Strengths

A
Only write necessary code
Easy maintenance
Tests allow documentation of code
Less time spent debugging 
Reliable solution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly