Test
Driven
Development
Proposition
My demo tooling
TDD
Add test
Pass
test
Refactor
Case
Build a car
Demo
• Create Team Project
• Create Visual Studio Solution
• Create Class Library Project
• Create Test Project
• Create B...
Demo
• Create Testmethod
• Generate Car class in Library
• Generate Drive method
• Generate Direction property
• Generate ...
Refactor using design patterns
State
Demo
• Implement State pattern
• Rerun tests
Demo
• Create Testmethod
• Generate Stop method
• Generate Stopped class in Library
• Generate AccidentException class in ...
Build a car
Demo
• Create Testmethod
• Generate Driver property
• Implement logic
Eric Tummers
http://about.me/erictummers
Demo placeholder slides are Visual Studio
and Team Foundation demos in live
prese...
Test driven development demo
Test driven development demo
Test driven development demo
Test driven development demo
Test driven development demo
Test driven development demo
Upcoming SlideShare
Loading in …5
×

Test driven development demo

313 views
257 views

Published on

My TDD demo slides used on numerous presentations. The live presentation contains Visual Studio and Team Foundation demos. Placeholder demo slides are added.

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
313
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Test driven development demo

  1. 1. Test Driven Development
  2. 2. Proposition
  3. 3. My demo tooling
  4. 4. TDD Add test Pass test Refactor
  5. 5. Case
  6. 6. Build a car
  7. 7. Demo • Create Team Project • Create Visual Studio Solution • Create Class Library Project • Create Test Project • Create Build Definition
  8. 8. Demo • Create Testmethod • Generate Car class in Library • Generate Drive method • Generate Direction property • Generate Forward class in Library • …
  9. 9. Refactor using design patterns
  10. 10. State
  11. 11. Demo • Implement State pattern • Rerun tests
  12. 12. Demo • Create Testmethod • Generate Stop method • Generate Stopped class in Library • Generate AccidentException class in Librar • Implement logic
  13. 13. Build a car
  14. 14. Demo • Create Testmethod • Generate Driver property • Implement logic
  15. 15. Eric Tummers http://about.me/erictummers Demo placeholder slides are Visual Studio and Team Foundation demos in live presentation.

×