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
80
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
140
Entregando código Swift com qualidade
salmojunior
2
240
Migrando para o desenvolvimento mobile (iOS)
salmojunior
0
84
Entendendo o processo de desenvolvimento de aplicativos iOS
salmojunior
1
87
Criando aplicativos para a nova Apple TV
salmojunior
0
130
Introdução ao Swift - CocoaHeads BH
salmojunior
0
160
360|iDev - Highlights - CocoaHeads Campinas
salmojunior
0
54
MultiTasking - iOS 9
salmojunior
0
50
Other Decks in Technology
See All in Technology
Охота на косуль у древних
ashapiro
0
140
Cracking the Coding Interview 6th Edition
gdplabs
14
28k
Aurora PostgreSQLがCloudWatch Logsに 出力するログの課金を削減してみる #jawsdays2025
non97
1
270
アジリティを高めるテストマネジメント #QiitaQualityForward
makky_tyuyan
1
520
DevinでAI AWSエンジニア製造計画 序章 〜CDKを添えて〜/devin-load-to-aws-engineer
tomoki10
0
240
OCI Success Journey OCIの何が評価されてる?疑問に答える事例セミナー(2025年2月実施)
oracle4engineer
PRO
2
260
User Story Mapping + Inclusive Team
kawaguti
PRO
3
570
データモデルYANGの処理系を再発明した話
tjmtrhs
0
380
Global Databaseで実現するマルチリージョン自動切替とBlue/Greenデプロイ
j2yano
0
190
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
1.2k
Ruby on Railsで持続可能な開発を行うために取り組んでいること
am1157154
3
180
Amazon Bedrock 2025 年の熱いアップデート (2025/3 時点)
icoxfog417
PRO
3
170
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
13
1k
GitHub's CSS Performance
jonrohan
1030
460k
Fireside Chat
paigeccino
35
3.2k
Testing 201, or: Great Expectations
jmmastey
42
7.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Rails Girls Zürich Keynote
gr2m
94
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
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