TDD. ExtremeProgramming에서 강조하는 개발기법중하나. Paradigm의 전환이라고 할 정도로.. 테스트를 먼저한다는 개발기법. UnitTest를 사용한다. TestFirstProgramming이라고도 한다.
디자인설계와 Test first사이에서 좀 갈팡질팡... 하지만, CodeThatsEasyToTest가 중요하기 때문에 이것은 가치가 있다.
The TDD cycle is:
- Write a test
- Make it compile, run it to see it fail
- Make it run
- Remove duplication
관련자료
참고사이트.