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