Javascript TDD by example

2,139 views

Published on

Agile Tour Toronto 2011

  • Be the first to comment

  • Be the first to like this

Javascript TDD by example

  1. 1. TDD withJavaScriptTest-driven JavaScriptprogramming workshop November 3, 2011 Agile Tour Toronto
  2. 2. ObjectivesAt  the  end  of  the  workshop,  par1cipants:   •  Will  know  one  way  to  write  JavaScript  code  guided  by  tests   •  Will  know  about  the  @12meses12katas  ini1a1ve    
  3. 3. Agenda     Workshop   Introduc1on   End   Review  
  4. 4. Ready!  
  5. 5. Set!  
  6. 6. Really  ready?  
  7. 7. The  Minesweeper  game    
  8. 8. A  realis1c  objec1ve  
  9. 9. Go!   Test  first  Workshop •  •  Test  first!   •  For  instance,  you  could  begin  with  exploring  the  model…   •  …  or  the  view   20  
  10. 10. Heads  up  for  5  minutes...  •  How  do  you  feel?  •  What  can  you  improve?  •  Consider  the  following  op1ons:   –  Change  partner   –  Start  over    
  11. 11. Heads  up  for  5  minutes...  •  How  do  you  feel?  •  What  can  you  improve?  •  Consider  the  following  op1ons:   –  Change  partner   –  Start  over    The  road  is  more  interes1ng  than  the  end.    
  12. 12. Go!   A  new  beginning  Workshop •  •  Test  first!   •  New  explora1ons  are  possible   20  
  13. 13. Thank  you  J  •  Share  your  katas  •  Share  your  code    

×