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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
vmalakhovskiy
October 14, 2016
Programming
50
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
72
Data driven view controllers
vmalakhovskiy
0
430
Cocoaheads #13
vmalakhovskiy
0
43
Developing apps for Apple Watch
vmalakhovskiy
0
74
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
84
Other Decks in Programming
See All in Programming
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
830
年間50登壇、単著出版、雑誌寄稿、Podcast出演、YouTube、CM、カンファレンス主催……全部やってみたので面白さ等を比較してみよう / I’ve tried them all, so let’s compare how interesting they are.
nrslib
4
500
ファインチューニングせずメインコンペを解く方法
pokutuna
0
220
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
220
おれのAgentic Coding 2026/03
tsukasagr
1
120
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
200
PHPで TLSのプロトコルを実装してみる
higaki_program
0
610
Nuxt Server Components
wattanx
0
220
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
1.2k
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
580
20260320登壇資料
pharct
0
140
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
From π to Pie charts
rasagy
0
160
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Why Our Code Smells
bkeepers
PRO
340
58k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
92
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
250
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Building AI with AI
inesmontani
PRO
1
840
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
260
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
780
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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