Java: tools & techniques for TDD

3,163 views

Published on

Slides from Szczepan Faber talking at Agileee conference 2009, Ukraine

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

No Downloads
Views
Total views
3,163
On SlideShare
0
From Embeds
0
Number of Embeds
245
Actions
Shares
0
Downloads
38
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Java: tools & techniques for TDD

  1. 1. When I code I write tests
  2. 2. X-unit frameworks
  3. 3. http://mockito.org
  4. 4. what are mocks? substitues of real objects... ...for testing purposes
  5. 5. Enough jokes, meet your bartender Szczepan Faber Coach at Sabre Holdings Krakow, Poland
  6. 6. Java: Tools & techniques for TDD
  7. 7. Who does it?
  8. 8. Learning TDD
  9. 9. the student must first resign himself and his ego to a seemingly random series of repetitious exercises Yukiyoshi Takamura
  10. 10. Shu Ha Ri
  11. 11. Improving TDD
  12. 12. Stop writing tests Instead, describe the behavior Or simply, write examples http://behaviour-driven.org
  13. 13. Enough slides. Start coding now...
  14. 14. Your takeaways I Shu-Ha-Ri Don’t write tests, write examples
  15. 15. Your takeaways II Mockito Custom assertion with FEST The ultimate test template
  16. 16. The ultimate test template @Test public void should...() throws Exception { //given ... //when ... //then ... Sapir-Whorf } Theory
  17. 17. Thanks for surviving the session! • Questions? • Feedback? • szczepiq (at) gmail.com Yummy. No hangover. (Eastern Europeans only)

×