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
AIエージェントを使ったiOSアプリ開発を試してみた
tamaki
0
56
沖縄モバイルアプリ開発勉強会#1
tamaki
0
100
iOSアプリ開発を始めよう
tamaki
0
170
詳解xcresult.pdf
tamaki
0
340
メルペイでのリグレッションテスト自動化推進のこれまでとこれから
tamaki
0
720
What do you want to test with UI Test v2
tamaki
2
880
JPQRによって変わる日本のQRコード決済
tamaki
0
280
What's New in Testing
tamaki
1
58
What do you want to test with UI Test
tamaki
5
1.9k
Other Decks in Technology
See All in Technology
AIで進化するソフトウェアテスト:mablの最新生成AI機能でQAを加速!
mfunaki
0
140
はじめてのSDET / My first challenge as a SDET
bun913
1
250
AIと開発者の共創: エージェント時代におけるAIフレンドリーなDevOpsの実践
bicstone
1
310
watsonx.data上のベクトル・データベース Milvusを見てみよう/20250418-milvus-dojo
mayumihirano
0
110
Dynamic Reteaming And Self Organization
miholovesq
3
460
クラウド開発環境Cloud Workstationsの紹介
yunosukey
0
140
Webアプリを Lambdaで動かすまでに考えること / How to implement monolithic Lambda Web Application
_kensh
7
1.3k
Ops-JAWS_Organizations小ネタ3選.pdf
chunkof
2
160
フロントエンドも盛り上げたい!フロントエンドCBとAmplifyの軌跡
mkdev10
2
270
LLM as プロダクト開発のパワードスーツ
layerx
PRO
1
240
【2025年度新卒技術研修】100分で学ぶ サイバーエージェントのデータベース 活用事例とMySQLパフォーマンス調査
cyberagentdevelopers
PRO
5
7.3k
Road to Go Gem #rubykaigi
sue445
0
430
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
90
6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
23
2.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
Raft: Consensus for Rubyists
vanstee
137
6.9k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
KATA
mclloyd
29
14k
Faster Mobile Websites
deanohume
306
31k
Statistics for Hackers
jakevdp
798
220k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
BBQ
matthewcrist
88
9.6k
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/
Ҏ্