Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MadCode 13 Webinar
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
vmalakhovskiy
October 14, 2016
Programming
53
0
Share
MadCode 13 Webinar
Introduction to tests in IOS. Theoretical part
vmalakhovskiy
October 14, 2016
More Decks by vmalakhovskiy
See All by vmalakhovskiy
Engineering team best friend - CI/CD
vmalakhovskiy
0
76
Data driven view controllers
vmalakhovskiy
0
440
Cocoaheads #13
vmalakhovskiy
0
46
Developing apps for Apple Watch
vmalakhovskiy
0
78
Why do you need to switch from Obj-C to Swift, or let's talk about ReactiveCocoa v4
vmalakhovskiy
0
510
Data processing components architecture in mobile applications
vmalakhovskiy
0
85
Other Decks in Programming
See All in Programming
CSC307 Lecture 17
javiergs
PRO
0
240
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
11
2.1k
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
6
6.2k
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
470
Agentic UI beyond Chats Architecture Patterns & Open Standards @ngMunich 05/2026
manfredsteyer
PRO
0
140
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
440
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
1
980
AI 時代のソフトウェア設計の学び方
masuda220
PRO
17
6.6k
Transactional Change Stream Processing With Debezium and Apache Flink
gunnarmorling
1
130
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
150
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
240
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
230
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.5k
Documentation Writing (for coders)
carmenintech
77
5.3k
We Have a Design System, Now What?
morganepeng
55
8.1k
Being A Developer After 40
akosma
91
590k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
380
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
170
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
The SEO identity crisis: Don't let AI make you average
varn
0
470
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
790
Transcript
Introduction to tests in iOS Malakhovskyi Vitalii Senior iOS Developer
@
Overview - Why do we need tests? - TDD, BDD,
Stub, Mock, Unit test, Integration test, Dependency Injection Demo - Objective-C, Swift
Do we really need tests?
How much time do I spend to write the code?
And then to debug it…
Design Implement Test
Time 5000 Codebase
Kent Beck
Design Implement Test
Test/Design Implement
Code Test Code Test Code Test Code Test Code Test
Code Test Code Test Code Test Code Test
Add tests See tests fail Write code Run tests Refactor
Test Driven Development
Test/Design Implement
BDD is about scenarios
Request Parse Convert Failure Failure Failure Result
None
None
Always use BDD!
System under test
System under test Unit tests
System under test Integration tests Class Class Class Class
System under test Class Class
System under test Class Class
System under test Class Class
System under test Stub Mock Integration tests
None
What to read? • https://www.amazon.com/Test-Driven- Development-Kent-Beck/dp/0321146530 • http://blog.cleancoder.com
Contact me: purpleshirted crimsongf Vitaliy Malakhovskiy