Upload
whitireia-new-zealand
View
85
Download
1
Embed Size (px)
DESCRIPTION
Test Driven Development is a Methodology for Information Technology. Was used with report and presentation for level 6 System Analysis and Design
Citation preview
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