Einführung Test-driven Development

448 views
329 views

Published on

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

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

No notes for slide

Einführung Test-driven Development

  1. 1. Test-Driven DevelopmentPython Barcamp – April 2013Timo Stollenwerk
  2. 2. Testing ???
  3. 3. Do not break things!Timo Stollenwerk
  4. 4. What do we get?●Code that works●Proof that is works●Lower defect rate●Cheaper bug fixing
  5. 5. Test-Driven Development
  6. 6. Test-Driven Development
  7. 7. Test-Driven Development
  8. 8. Test-Driven Development
  9. 9. What do we get?●Shorter developmentcycles●Fast developmentprocess●Satisfaction●Fun!
  10. 10. No code without a failing test
  11. 11. Make test pass (quickly)
  12. 12. Test
  13. 13. Fix
  14. 14. Refactor
  15. 15. What do we get?●Clean Code thatworks●Agile code
  16. 16. Testing Pyramid
  17. 17. Unit Testing
  18. 18. Integration Tests●Schema●Factory Type Info●Factory●Adding●View
  19. 19. Functional Testing
  20. 20. Functional Tests●„Second line of testdefense.“ (MartinFowler)●Testable specification●Failure in afunctional test >missing unit test
  21. 21. Book Recommendations
  22. 22. Test-Driven Developmentcontact@timostollenwerk.nettwitter: @timostollenwerkirc: tistoTimo Stollenwerk

×