Test driven Development
Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes a failing automated test case that defines a desired improvement or new function, then produces code to pass that test and finally refactors the new code to acceptable standards. Kent Beck, who is credited with having developed or 'rediscovered' the technique, stated in 2003 that TDD encourages simple designs and inspires confidence. Test-driven development is related to the test-first programming concepts of extreme programming, begun in 1999, but more recently has created more general interest in its own right. Programmers also apply the concept to improving and debugging legacy code developed with older techniques.
TDD의 개념
- 미리 작성되는 테스트를 기반으로 짧은 반복주기를 이용하는 SW 개발 기법.
- 테스트 작성을 통하여 요구사항 정의.
- TDD는 단순한 테스트 기법이 아닌 SW 설계의 한 기법.
Libraries
See also
Favorite site
- Wikipedia (en) 테스트 주도적 개발방법에 대한 설명
- Wikipedia (en) 유닛 테스트 프레임워크 리스트 1
- Mock을 이용한 단위 테스트
- BDD와 TDD의 차이
- [추천] Mocking은 코드 냄새(Code Smell)입니다 2 (Mocking, TDD)