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
1
2.3k
Snapshot Testing
Testing views with screenshot. Using FBScreenshotTestCase.
Kishikawa Katsumi
December 17, 2014
Tweet
Share
More Decks by Kishikawa Katsumi
See All by Kishikawa Katsumi
Enhancing Applications with Accessibility API
kishikawakatsumi
3
1.9k
Mastering SwiftSyntax
kishikawakatsumi
3
4.1k
My SwiftData Review
kishikawakatsumi
7
1.2k
Swift Expression Macros: a practical introduction
kishikawakatsumi
3
1.6k
Xcode Cloudの評価
kishikawakatsumi
2
1.1k
Regular expressions basics/正規表現の基本
kishikawakatsumi
6
640
家のいろいろな数値を計測する
kishikawakatsumi
4
1.9k
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
710
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
1.6k
Other Decks in Programming
See All in Programming
What We Can Learn From OSS
inouehi
0
420
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
800
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
210
大規模UIKitベースアプリへのTCAの段階的導入/gradual-adoption-of-tca-in-a-large-scale-uikit-based-app
takehilo
1
180
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
930
2 週間で Twitter Bot を作ってみた
contour_gara
0
390
Ruby Pattern Matching
bkuhlmann
0
930
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
Apache Hive 4 on Treasure Data
ryukobayashi
0
320
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.4k
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
19
1.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Code Review Best Practice
trishagee
55
15k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
What the flash - Photography Introduction
edds
64
11k
Designing for Performance
lara
601
67k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Designing for humans not robots
tammielis
248
25k
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