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

Test Driven Development with Xcode

Test Driven Development with Xcode

Test Driven Development is a great way to take your code to a whole another level. In this presentation, we'll talk about what is TDD, why TDD is awesome and how to do it in Xcode using Swift and XCTest

Presented at CocoaHeads LA - Testing Edition: http://www.meetup.com/CocoaHeads-LA/events/225155127/
Video: https://youtu.be/06-9Xsd8saA

Alexander Tamoykin

September 24, 2015
Tweet

More Decks by Alexander Tamoykin

Other Decks in Programming

Transcript

  1. Why bother? 0 20 40 60 80 Today A month

    later In 2 months In 3 months
  2. Benefits 1. Stable product 2. Lower management overhead 3. Easy

    to refactor 4. Tests are documentation 5. Better code quality • Easier to read • Easier to modify • Easier to maintain
  3. How

  4. What’s next • Apple promotes testing. (XCTest, UITesting, Xcode Server

    etc) • Just do it. It’s the best way to learn. • It will take some time.
  5. Keep in touch • Subscribe to my blog to learn

    more: • http://HowToProgramBetter.com • Follow me on twitter • @fsproru • and…