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
Snapshot Testing
Search
Kishikawa Katsumi
December 17, 2014
Programming
2.6k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Snapshot Testing
Testing views with screenshot. Using FBScreenshotTestCase.
Kishikawa Katsumi
December 17, 2014
More Decks by Kishikawa Katsumi
See All by Kishikawa Katsumi
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
150
Running Swift without an OS
kishikawakatsumi
0
960
浮動小数の比較について
kishikawakatsumi
0
570
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
260
愛される翻訳の秘訣
kishikawakatsumi
3
460
Private APIの呼び出し方
kishikawakatsumi
3
1k
iOSでSVG画像を扱う
kishikawakatsumi
0
250
Build your own WebP codec in Swift
kishikawakatsumi
2
2.4k
iOSDC 2024 SMBファイル共有をSwiftで実装する
kishikawakatsumi
1
330
Other Decks in Programming
See All in Programming
関数型プログラミングのメリットって何だろう?
wanko_it
0
160
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
8
3.8k
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
15
3.2k
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
140
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
190
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
840
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
420
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
120
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
360
「正の参照」と 「負の導出」で組む ハーネスエンジニアリング
cottpan
1
130
act2-costs.pdf
sumedhbala
0
100
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
780
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
230
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
240
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Evolving SEO for Evolving Search Engines
ryanjones
0
240
Raft: Consensus for Rubyists
vanstee
141
7.6k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
500
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Technical Leadership for Architectural Decision Making
baasie
3
440
The Spectacular Lies of Maps
axbom
PRO
1
850
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Transcript
4OBQTIPU5FTUJOH
None
None
None
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '6.0' inhibit_all_warnings! target 'UCZProgressView' do end
target 'UCZProgressViewTests' do pod 'FBSnapshotTestCase' end
'#@3&'&3&/$&@*."(&@%*3 la 4063$&@3005 130+&$5@/".& 5FTUT 3FGFSFODF*NBHFTa
- (void)testProgress50 { UCZProgressView *progressView = [[UCZProgressView alloc] initWithFrame: CGRectMake(0.0,
0.0, 320.0, 568.0)]; progressView.progress = 0.50; FBSnapshotVerifyView(progressView, nil); }
progressView.progress = 0.70; progressView.showsText = YES;
progressView.progress = 0.70; progressView.showsText = YES; progressView.textColor = …;
progressView.progress = 0.70; progressView.showsText = YES; progressView.tintColor = …; progressView.textColor
= …; progressView.lineWidth = …; progressView.radius = …;
progressView.indeterminate = YES;
progressView.progress = 1.00;
self.recordMode = YES;
None
None
None
None
None
None