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
73
MultiTasking - iOS 9
salmojunior
0
61
Other Decks in Technology
See All in Technology
PLaMoの事後学習を支える技術 / PFN LLMセミナー
pfn
PRO
9
4k
JAZUG 15周年記念 × JAT「AI Agent開発者必見:"今"のOracle技術で拡張するAzure × OCIの共存アーキテクチャ」
shisyu_gaku
0
140
Large Vision Language Modelを用いた 文書画像データ化作業自動化の検証、運用 / shibuya_AI
sansan_randd
0
130
これがLambdaレス時代のChatOpsだ!実例で学ぶAmazon Q Developerカスタムアクション活用法
iwamot
PRO
5
200
Wasmのエコシステムを使った ツール作成方法
askua
0
100
セキュアな認可付きリモートMCPサーバーをAWSマネージドサービスでつくろう! / Let's build an OAuth protected remote MCP server based on AWS managed services
kaminashi
3
240
衛星画像超解像化によって実現する2D, 3D空間情報の即時生成と“AI as a Service”/ Real-time generation spatial data enabled_by satellite image super-resolution
lehupa
0
110
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
「Verify with Wallet API」を アプリに導入するために
hinakko
1
270
業務効率化をさらに加速させる、ノーコードツールとStep Functionsのハイブリッド化
smt7174
2
110
How to achieve interoperable digital identity across Asian countries
fujie
0
140
自動テストのコストと向き合ってみた
qa
0
210
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Bash Introduction
62gerente
615
210k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
860
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
Code Reviewing Like a Champion
maltzj
525
40k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Code Review Best Practice
trishagee
72
19k
Six Lessons from altMBA
skipperchong
28
4k
Fireside Chat
paigeccino
40
3.7k
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