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
UI Testing
Search
Salmo Junior
November 29, 2016
Technology
0
82
UI Testing
Apresentação sobre UI Testing feita no 14º CocoaTalks de Belo Horizonte
Salmo Junior
November 29, 2016
Tweet
Share
More Decks by Salmo Junior
See All by Salmo Junior
Como deixar os meus apps mais seguros
salmojunior
2
170
Debugging: Tips and Techniques
salmojunior
1
150
Entregando código Swift com qualidade
salmojunior
2
250
Migrando para o desenvolvimento mobile (iOS)
salmojunior
0
88
Entendendo o processo de desenvolvimento de aplicativos iOS
salmojunior
1
100
Criando aplicativos para a nova Apple TV
salmojunior
0
130
Introdução ao Swift - CocoaHeads BH
salmojunior
0
170
360|iDev - Highlights - CocoaHeads Campinas
salmojunior
0
70
MultiTasking - iOS 9
salmojunior
0
61
Other Decks in Technology
See All in Technology
Webアクセシビリティ入門
recruitengineers
PRO
3
1.5k
つくって納得、つかって実感! 大規模言語モデルことはじめ
recruitengineers
PRO
32
12k
データアナリストからアナリティクスエンジニアになった話
hiyokko_data
0
240
『FailNet~やらかし共有SNS~』エレベーターピッチ
yokomachi
1
190
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
2
130
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
3
1.7k
Browser
recruitengineers
PRO
8
2.1k
Webブラウザ向け動画配信プレイヤーの 大規模リプレイスから得た知見と学び
yud0uhu
0
100
DuckDB-Wasmを使って ブラウザ上でRDBMSを動かす
hacusk
1
140
iPhone Eye Tracking機能から学ぶやさしいアクセシビリティ
fujiyamaorange
0
130
実践データベース設計 ①データベース設計概論
recruitengineers
PRO
4
2k
おやつは300円まで!の最適化を模索してみた
techtekt
PRO
0
250
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
How GitHub (no longer) Works
holman
315
140k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
51
5.6k
Documentation Writing (for coders)
carmenintech
73
5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Transcript
UI Testing
Salmo Junior • Chapter Leader do CocoaHeads BH • Mineiro,
apesar de corintiano • Dev iOS desde 2011 • Viciado em queijo
[email protected]
@salmojr
Mas o que é UI Test?
Beneficios do UI Test • Testes como se fosse o
usuário • Fácil achar bugs durante regressão • Tempo de execução, não parando o time • Certeza que as classes funcionam juntas • Mais simples que UT (Mas igualmente importante)
Por que fazer UI Test?
None
UI Test vs. Unit Test
Algumas opções • XCUI • KIF • Calabash • Appium
• ...
XCUI
XCUI • Xcode 7 ou superior • iOS e macOS
• Swift e Objective-C
XCUI - Vantagens • Testa a acessibilidade da aplicação •
Integrado a IDE • UI Recording
XCUI - Desvantagens • Não é multiplataforma • Mais voltado
para os desenvolvedores • Difícil reaproveitamento de passos
XCUI • XCTest + Accessibility • XCUIApplication • XCUIElementQuery •
XCUIElement
Demo
Perguntas?
Referências Apple Developer - https://goo.gl/40uSsG Big Nerd Ranch - https://goo.gl/KqogyP
APPCODA - https://goo.gl/kK6gp0
Obrigado!
[email protected]
- @salmojr