Test Driven Development
-
Upload
whitireia-new-zealand -
Category
Education
-
view
85 -
download
1
description
Transcript of Test Driven Development
TEST DRIVEN
DEVELOPMENT
WHAT IS TDD?• It is a technique
• Focused more on Design and Development
Where does TDD come from?• Agile Code Method
• eXtreme Programming
HISTORY OF THE TDD
• 1950’s NASA Project Mercury
• 1980’s Kent Beck
• 1993 eXtreme Programming
COMPARISONS Traditional SDLC Test Driven Development
• Unit test (Unit)
• Integration test (Collaboration)
• User interface test (Frontend, ex. WatiN)
• Regression test (Continuous Integration)
• …, System, Performance, Stress, Usability, …
The Black-box only applies to the TDD
Test types:
• White-box test
• Black-box test
Test Types
White-Box Test • 1st generation Intergration
testing
• 2nd generation Unit testing
Black-Box Test • 3rd generation Unit testing
• Red, Green, Refactor
• Make it Fail
• No code without a failing test
• Make it Work
• As simply as possible
• Make it Better
• Refactor
Red
GreenRefactor
WHAT IS TDD DEVELOPING?
•Androids • iPhone•Mobile Applications •Games
THANK YOU
QUESTIONS