Jorge Ortiz: TDD for the Masses

1fa9cb8c7997c8c4d3d251fb5e41f749?s=47 Realm
July 08, 2016

Jorge Ortiz: TDD for the Masses

1fa9cb8c7997c8c4d3d251fb5e41f749?s=128

Realm

July 08, 2016
Tweet

Transcript

  1. 5.
  2. 7.

    #TDD4Masses Agenda ̣ TDD ̣ Unit testing a Table View

    Controller from scratch ̣ Get it to run
  3. 15.

    #TDD4Masses TDD Dance ̣ Red ̣ Green ̣ Refactor Write

    test ❌ Write simplest code to pass test ✅ Improve code Choose next functionality Loop until done
  4. 16.

    #TDD4Masses Simplest Code ̣ Hard coded ̣ Closer to the

    beginning of scope ̣ Less indented ̣ Shorter Credit Ray Osherove
  5. 17.
  6. 18.

    #TDD4Masses Recap ̣ Red, Green, and Refactor ̣ Add min

    amount of code to pass ̣ TDD is not only possible, but useful&cool! ̣ Great coverage ̣ Views can be tested ̣ Good architecture helps