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
vmalakhovskiy
October 14, 2016
Programming
55
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
79
Data driven view controllers
vmalakhovskiy
0
440
Cocoaheads #13
vmalakhovskiy
0
51
Developing apps for Apple Watch
vmalakhovskiy
0
88
Why do you need to switch from Obj-C to Swift, or let's talk about ReactiveCocoa v4
vmalakhovskiy
0
520
Data processing components architecture in mobile applications
vmalakhovskiy
0
91
Other Decks in Programming
See All in Programming
Flow は今どうなっているか
mizdra
PRO
0
830
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
190
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
510
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
270
高専キャリア LT 発表内容
crysta1221
6
5.4k
T3DD26: From RAGs to Riches
martinhelmich
0
130
XHTMLが残したもの
yosuke_furukawa
PRO
1
340
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
190
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
120
【DroidKaigi 2026】「アクセシビリティを利用するとき、 アクセシビリティもまたこちらを利用している」 〜マルウェアによる攻撃と防衛について〜
halunoyo
0
180
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
180
Hono + Inertia + React で LP を構築した話
oukayuka
2
190
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
960
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
520
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Statistics for Hackers
jakevdp
799
230k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
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