Upload
eduardo-carrara-de-araujo
View
330
Download
1
Tags:
Embed Size (px)
Citation preview
Íntel Software and Services Group
Testando sua App na Nuvem v2.0Eduardo CarraraDeveloper Evangelist – Intel Developers Relations Division
Intel Software and Services Group
#AndroidOnIntel
2
+EduardoCarraraDeAraujo
https://www.facebook.com/ducarrara
@DuCarrara
br.linkedin.com/in/eduardocarrara/
ecarrara-araujo
Intel Software and Services Group 3
Intel Software and Services Group 4
“Testers don’t break software,
software is already broken”
– Amir Ghahrai
Intel Software and Services Group
Fragmentação e Testes
Automação de Testes
5
Problemas?
Intel Software and Services Group 6
Intel Software and Services Group 7
Fragmentação
Variedade de tamanhos de tela
Arquiteturas Diferentes
Versões diferentes de OS
Intel Software and Services Group
Como a nuvem pode te ajudar?
• $$$
• Devices de Difícil acesso• Escala
Intel Software and Services Group 9
Intel Software and Services Group 10
Intel Software and Services Group 11
Intel Software and Services Group 12
Intel Software and Services Group 13
Intel Software and Services Group 14
O que posso usar com ele?
JUnit UI Automator
Calabash
Intel Software and Services Group 15
Outros serviços?
AWS Device Farm
Google Cloud Test Lab
Open STF
Test Cloud
Intel Information Technology
“I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.”
- Bill Gates
16
Image by Karla Vidal @ http://www.flickr.com/photos/63721650@N00/3661526274Creative Commons cc-by-2.0
Intel Software and Services Group 17
Acceptance Testing
System Testing
Integration Testing
Unit Testing JUnit
JUnit
JUnit UI Automator
Intel Software and Services Group 18
JUnit
Intel Software and Services Group
Espresso
19
• Simplifies the UI Test Process within your App
• Methods for:
• View matching
• Checks
• UI Events
Intel Software and Services Group 20
Espresso – Caso Vilibra
• Bibliotecário Virtual
• Ajudar a lembrar os livros emprestados.
• Nesta caso como automatizar o teste da visualização de detalhes de um empréstimo?
• Classe: TestViewLendedBookDetailFlow
Intel Software and Services Group
UI Automator
21
• Testes Cross App
• Baseado em Instrumentação
• Interage com elementos visíveis utilizando descritores convenientes (como texto).
Intel Software and Services Group 22
UIAutomator – Caso Vilibra
• Novo caso: automatizando o registro de um empréstimo.
• Classe: TestLendBookFlow
Intel Software and Services Group 23
“If you don’t like testing your product, most likely your customers won’t like
to test it either.” - Anonymous
Intel Information Technology
What is next?
24
• Experimente automatizar os testes de sua app!
• Como fazer Integração e Entrega Contínua com Android?
• Cobertura de Código
• Mocking
Intel Software and Services Group 25
Intel Developer Zone
https://software.intel.com/en-us/android/app-testing
Intel Software and Services Group 26
Nos Avalie!
http://bit.ly/IntelPesquisa
Intel Software and Services Group
Thanks!
27
+EduardoCarraraDeAraujo
https://www.facebook.com/ducarrara
@DuCarrara
br.linkedin.com/in/eduardocarrara/
ecarrara-araujo/vilibra
Intel Software and Services Group 28
References
• Android Testing: https://developer.android.com/tools/testing/testing_android.html
• Android Unit Testing Support: http://tools.android.com/tech-docs/unit-testing-support
• UI Testing: https://developer.android.com/training/testing/ui-testing/index.html
• Android Testing Support Library: https://developer.android.com/tools/testing-support-library
• Android Instrumentation: http://developer.android.com/tools/testing/testing_android.html#Instrumentation
• Junit: http://junit.org
• Testdroid: http://testdroid.com
• Intel App Testing Page: https://software.intel.com/en-us/android/app-testing
Placeholder Footer Copy / BU Logo or Name Goes Here