Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ADN Columbus 2013 - Mama Said Test Your Code

Improving
August 19, 2013

ADN Columbus 2013 - Mama Said Test Your Code

Improving

August 19, 2013
Tweet

More Decks by Improving

Other Decks in Education

Transcript

  1. Mama  Said  Test  Your   Code   Jerrel  Blankenship  

    Agile  DotNET  2013   August  9th,  2013  
  2. Who  Am  I?   •  Software  Engineer  at  RelayHealth  

    •  Author:  Pro  Agile  .NET  Development  with  Scrum   •  Striving  Software  Craftsman   •  Certified  Scrum  Master  
  3. Test-­‐Driven  Development  (TDD)   •  Test  First  Approach  to  Software

     Development   •  Inside-­‐out     •  Red-­‐Green-­‐Refactor   •  Write  just  enough  code  to  get  the  test  to  pass  and   nothing  more.  
  4. Its  All  About  The  Trust   •  Gives  you  confidence

     in  your  code   •  Codebase  has  a  safety  net   •  Gives  you  improved  predictability   •  Instills  confidence  in  management  by  constantly   delivering  what  you  said  you  would  
  5. Windows  Store  App  Playground   •  Two  Different  Types  of

     Apps   •  XAML  Based  (VB,  C#,  C++)   •  JavaScript  Based  
  6. The  Downsides   •  Cannot  create  UI  Tests   • 

    Support  for  CodedUI  Tests  will  be  in  Visual  Studio  2013   •  Cannot  use  mocking  frameworks  like  MOQ   •  Can  use  Microsoft’s  own  Fakes  framework   •  NUnit  is  not  supported   •  XUnit  is  supported  through  third-­‐party  project  template   available  for  down  load  
  7. Contact  &  Links   •  Email:  [email protected]   •  Twitter:

     @TheJerrel   •  Slides  &  Code  Samples  -­‐  http://bit.ly/1ewKVuj   •  QUnitMetro  -­‐  http://qunitmetro.github.io/QUnitMetro/   •  Qunit  Walkthrough  -­‐  http://bit.ly/9IuVo5   •  Walkthrough  on  unit  tests  -­‐  http://bit.ly/18ZcTy8