×
Copy
Open
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Test Driven Development Live in Xcode Master class with Alex Tamoykin
Slide 2
Slide 2 text
Holla It’s Alex Tamoykin
Slide 3
Slide 3 text
CTO @ ThinkAlike Check us out at http://thinkalike.us and tell me what you think
Slide 4
Slide 4 text
The book author http://StartProgrammingNowBook.com
Slide 5
Slide 5 text
Ping Pong Playa
Slide 6
Slide 6 text
What’s up • What’s TDD • Why TDD • How it’s done with Xcode
Slide 7
Slide 7 text
What’s TDD 1. Failing Test 2. Minimum amount of code to pass that test 3. Refactor
Slide 8
Slide 8 text
Why bother? 0 20 40 60 80 Today A month later In 2 months In 3 months
Slide 9
Slide 9 text
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
Slide 10
Slide 10 text
Good For Shipping stable product
Slide 11
Slide 11 text
Not so good for Prototyping
Slide 12
Slide 12 text
How
Slide 13
Slide 13 text
–Linus Torvalds “Talk is cheap. Show me the code.”
Slide 14
Slide 14 text
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.
Slide 15
Slide 15 text
Books
Slide 16
Slide 16 text
Internet https://www.objc.io/issues/ 15-testing/ http://iosunittesting.com
Slide 17
Slide 17 text
Recap • What’s TDD • Why • How
Slide 18
Slide 18 text
Keep in touch • Subscribe to my blog to learn more: • http://HowToProgramBetter.com • Follow me on twitter • @fsproru • and…
Slide 19
Slide 19 text
oops, wrong one
Slide 20
Slide 20 text
Cheers!