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
75
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
140
Debugging: Tips and Techniques
salmojunior
1
130
Entregando código Swift com qualidade
salmojunior
2
210
Migrando para o desenvolvimento mobile (iOS)
salmojunior
0
77
Entendendo o processo de desenvolvimento de aplicativos iOS
salmojunior
1
84
Criando aplicativos para a nova Apple TV
salmojunior
0
100
Introdução ao Swift - CocoaHeads BH
salmojunior
0
140
360|iDev - Highlights - CocoaHeads Campinas
salmojunior
0
45
MultiTasking - iOS 9
salmojunior
0
46
Other Decks in Technology
See All in Technology
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
830
一生覚えておきたい「システム開発=コミュニケーション」〜初めての実務案件振り返りLT〜
maimyyym
1
180
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
260
いつか使うかも貯金してたらめちゃめちゃ機能が増えてた話
riyaamemiya
0
420
アクセス制御にまつわる改善 / Improving access control
itkq
0
560
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
250
20240418_Google ColabにLLMが搭載されたようなのでPython x データ分析の勉強方法を考えてみる
doradora09
0
150
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
3
550
.NET Profiler in 2024.
kkamegawa
1
150
生産性向上チームの紹介
cybozuinsideout
PRO
1
880
The AI Revolution Will Not Be Monopolized: Behind the scenes
inesmontani
PRO
0
110
Reducing Cross-Zone Egress at Spotify with Custom gRPC Load Balancing Recap
koh_naga
0
210
Featured
See All Featured
Web development in the modern age
philhawksworth
202
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Writing Fast Ruby
sferik
621
60k
Bash Introduction
62gerente
604
210k
Adopting Sorbet at Scale
ufuk
68
8.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
6
1.5k
Side Projects
sachag
451
41k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
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