TDD Flashcards
1
Q
Unit test
A
- Aimed at smallest testable part of an application
- Part of the source code
- Run as part of build process
- Run fast
- Responsibility of the programmer
2
Q
Benefits of unit testing
A
- Facilitates changes
- Gives the confidence to make changes
- Simplifies integration
- Documentation
- Show the programmers design intention
- Always up to date
- Loosely coupled code
3
Q
What is TDD
A
- It is not just about testing
- Tool for developing better code
- Design coding and testing all at the same time
- TDD reduces the incidence of defects