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
79
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
160
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
85
Criando aplicativos para a nova Apple TV
salmojunior
0
130
Introdução ao Swift - CocoaHeads BH
salmojunior
0
150
360|iDev - Highlights - CocoaHeads Campinas
salmojunior
0
53
MultiTasking - iOS 9
salmojunior
0
49
Other Decks in Technology
See All in Technology
日経電子版 x AIエージェントの可能性とAgentic RAGによって提案書生成を行う技術
masahiro_nishimi
1
290
Developers Summit 2025 浅野卓也(13-B-7 LegalOn Technologies)
legalontechnologies
PRO
0
150
Datadogとともにオブザーバビリティを布教しよう
mego2221
0
130
Culture Deck
optfit
0
330
[2025-02-07]生成AIで変える問い合わせの未来 〜チームグローバル化の香りを添えて〜
tosite
1
290
個人開発から公式機能へ: PlaywrightとRailsをつなげた3年の軌跡
yusukeiwaki
11
2.7k
データの品質が低いと何が困るのか
kzykmyzw
6
1k
All you need to know about InnoDB Primary Keys
lefred
0
120
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
1.5k
プロセス改善による品質向上事例
tomasagi
1
1.6k
インフラをつくるとはどういうことなのか、 あるいはPlatform Engineeringについて
nwiizo
5
2.1k
Platform Engineeringは自由のめまい
nwiizo
4
1.9k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
29
2.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
A designer walks into a library…
pauljervisheath
205
24k
Speed Design
sergeychernyshev
25
780
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
A Tale of Four Properties
chriscoyier
158
23k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Building Your Own Lightsaber
phodgson
104
6.2k
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