Java: tools & techniques for TDD
Upcoming SlideShare
Loading in...5
×
 

Java: tools & techniques for TDD

on

  • 3,781 views

Slides from Szczepan Faber talking at Agileee conference 2009, Ukraine

Slides from Szczepan Faber talking at Agileee conference 2009, Ukraine

Statistics

Views

Total Views
3,781
Views on SlideShare
3,548
Embed Views
233

Actions

Likes
1
Downloads
33
Comments
0

6 Embeds 233

http://agileee.org 122
http://lib.custis.ru 60
http://team.custis.ru 41
http://www.slideshare.net 6
http://wiki.office.custis.ru 2
http://test.agileee.org 2

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Java: tools & techniques for TDD Java: tools & techniques for TDD Presentation Transcript

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