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
What's New in Testing!!!
Search
Shingo Tamaki
July 26, 2017
Technology
2.2k
4
Share
What's New in Testing!!!
WWDC2017のほぼ同名のセッションの内容について簡単にまとめました。
Shingo Tamaki
July 26, 2017
More Decks by Shingo Tamaki
See All by Shingo Tamaki
Use Gemini CLI from Claude Code as part of Sub Agent
tamaki
0
300
Let's make an Immersive Video with APMP
tamaki
0
59
Firebase Studioで始めるモバイルアプリ開発入門
tamaki
0
49
Introduction to Claude Code Action
tamaki
0
780
AIエージェントを使ったiOSアプリ開発を試してみた
tamaki
0
190
沖縄モバイルアプリ開発勉強会#1
tamaki
0
150
iOSアプリ開発を始めよう
tamaki
0
250
詳解xcresult.pdf
tamaki
0
440
メルペイでのリグレッションテスト自動化推進のこれまでとこれから
tamaki
0
820
Other Decks in Technology
See All in Technology
Microsoft 365 / Microsoft 365 Copilot : 自分の状態を確認する「ラベル」について
taichinakamura
0
340
Rapid Start: Faster Internet Connections, with Ruby's Help
kazuho
2
750
Practical TypeProf: Lessons from Analyzing Optcarrot
mame
0
950
AI駆動1on1〜AIに自分を育ててもらう〜
yoshiakiyasuda
0
150
Shipping AI Agents — Lessons from Production
vvatanabe
0
280
コミュニティ・勉強会を作るのは目的じゃない
ohmori_yusuke
0
250
レビューしきれない?それは「全て人力でのレビュー」だからではないでしょうか
amixedcolor
0
350
20260428_Product Management Summit_tadokoroyoshiro
tadokoro_yoshiro
12
13k
20260423_執筆の工夫と裏側 技術書の企画から刊行まで / From the planning to the publication of technical book
nash_efp
3
430
自分のハンドルは自分で握れ! ― 自分のケイパビリティを増やし、メンバーのケイパビリティ獲得を支援する ― / Take the wheel yourself
takaking22
1
950
Do Vibe Coding ao LLM em Produção para Busca Agêntica - TDC 2026 - Summit IA - São Paulo
jpbonson
3
150
AI時代のガードレールとしてのAPIガバナンス
nagix
0
300
Featured
See All Featured
New Earth Scene 8
popppiees
3
2.1k
Being A Developer After 40
akosma
91
590k
Making Projects Easy
brettharned
120
6.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
130
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
340
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
270
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
99
A Modern Web Designer's Workflow
chriscoyier
698
190k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Transcript
What's New in Testing!!!
ࣗݾհ
ࣗݾհ ۄ৴ޛ iOS Engineer! ͖ͳframeworkHomeKitͱXCTestͰ͢ झຯ" ిࢠ࡞⚡ ےτϨ$ ΨδΣοτ%
Parallel Testing Localization Block-based test teardown Multi-app Testing FirstMatch API
Activities Attachments Async Testing (Xcode8.3)
Parallel Testing https://developer.apple.com/videos/play/wwdc2017/102/
Localization ςετ࣌ͷLanguage/Regionࢦఆ͕ՄೳʹͳΓ·ͨ͠ɻ xcodebuildͰ-testLanguage,-testRegionͰࢦఆՄೳ
Block-based test teardown
Multi-app Testing
Multi-app Testing
FirstMatch API
FirstMatch API
Activities
͜Ε·Ͱͷςετ
͜Ε·Ͱͷςετ
͜Ε͔Βͷςετ
࣮ߦϩά͔Βݟͨҧ͍
Attachment
Screenshots
Screenshots
Attachment Lifetime Policies
Async Testing (Xcode 8.3)
XCTWaiter • XCTWaiterͱͯ͠ΣΠτॲཧʹؔ͢Δ෦͕XCTestCase͔ Β͠·ͨ͠ɻ • ରͱͳΔexpectationΛ໌ࣔతʹෳͰ͖ΔΑ͏ʹͳΓ·͠ ͨɻ • XCTWaiterDelegate •
XCTWaiter.Result
XCTWaiter
XCTWaiter
XCTWaiter Explicitly expectation
XCTWaiter.Result XCWaiter.Result͕ఆٛ͞Εɺ࣮ߦ݁Ռͱͯ͠ҎԼͷΑ͏ͳͷ ͕ఆٛ͞Ε͍ͯ·͢ɻ • completed • timedOut • incorrectOrder •
invertedFulfillment • interrupted
XCTWaiterDelegate • nestedWaiter(_:wasInterruptedByTimedOutWaiter:) • waiter(_:didTimeoutWithUnfulfilledExpectations:) • waiter(_:didFulfillInvertedExpectation:) • waiter(_:fulfillmentDidViolateOrderingConstraintsFor:requir edExpectation:)
XCTTestExpectation • expectedFulfillmentCount • isInverted • enforceOrder
isInverted
expectedFulfillmentCount
enforceOrder
XCTTestExpectation • ৽͍͠Expectation͕૿͑·ͨ͠ɻ • XCTKVOExpectation • XCTNSNotificationExpectation • XCTNSPredicateExpectation
https:// developer.apple.com /videos/play/ wwdc2017/409/
Ҏ্