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
4
2.1k
What's New in Testing!!!
WWDC2017のほぼ同名のセッションの内容について簡単にまとめました。
Shingo Tamaki
July 26, 2017
Tweet
Share
More Decks by Shingo Tamaki
See All by Shingo Tamaki
Use Gemini CLI from Claude Code as part of Sub Agent
tamaki
1
140
Let's make an Immersive Video with APMP
tamaki
0
18
Firebase Studioで始めるモバイルアプリ開発入門
tamaki
0
17
Introduction to Claude Code Action
tamaki
0
680
AIエージェントを使ったiOSアプリ開発を試してみた
tamaki
0
120
沖縄モバイルアプリ開発勉強会#1
tamaki
0
120
iOSアプリ開発を始めよう
tamaki
0
200
詳解xcresult.pdf
tamaki
0
380
メルペイでのリグレッションテスト自動化推進のこれまでとこれから
tamaki
0
770
Other Decks in Technology
See All in Technology
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
10
75k
現場で効くClaude Code ─ 最新動向と企業導入
takaakikakei
1
260
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
120
Django's GeneratedField by example - DjangoCon US 2025
pauloxnet
0
160
20250913_JAWS_sysad_kobe
takuyay0ne
2
250
テストを軸にした生き残り術
kworkdev
PRO
0
220
Rustから学ぶ 非同期処理の仕組み
skanehira
1
150
EncryptedSharedPreferences が deprecated になっちゃった!どうしよう! / Oh no! EncryptedSharedPreferences has been deprecated! What should I do?
yanzm
0
500
CDK CLIで使ってたあの機能、CDK Toolkit Libraryではどうやるの?
smt7174
4
190
Unlocking the Power of AI Agents with LINE Bot MCP Server
linedevth
0
120
人工衛星のファームウェアをRustで書く理由
koba789
15
8.3k
実践!カスタムインストラクション&スラッシュコマンド
puku0x
0
550
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
How to Ace a Technical Interview
jacobian
279
23k
How STYLIGHT went responsive
nonsquared
100
5.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Writing Fast Ruby
sferik
628
62k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Building Adaptive Systems
keathley
43
2.7k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Facilitating Awesome Meetings
lara
55
6.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
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/
Ҏ্