Íntel Software and Services Group
Testing Your APP in
the cloudEduardo Carrara
Developer Evangelist – Intel Developers Rel...
Intel Software and Services Group
#Android
OnIntel
2
+EduardoCarraraDeAraujo
https://www.facebook.com/ducarrara
@DuCarrara...
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 5
Challenges
AutomationFragmentation
Intel Software and Services Group 6
Intel Software and Services Group 7
Fragmentation
Screen size/density variety
Different Processor
Many OS versions
Intel Software and Services Group
How can the cloud help?
•  $$$
•  Devices that are hard to find
•  Scale
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
Intel Software and Services Group 15
Intel Software and Services Group 16
What can I use with it?
JUnit UI Automator
Calabash
Intel Software and Services Group 17
Other services?
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 i...
Intel Software and Services Group 19
JUnit UI Automator
Android Testing Support Library
Intel Software and Services Group 20
JUnit
Intel Software and Services Group
Espresso
21
•  Simplifies the UI Test
Process within your App
•  Methods for:
•  View ma...
Intel Software and Services Group 22
Espresso – Vilibra Case
•  Virtual Librarian
•  Help to remember the books I
lend
•  ...
Intel Software and Services Group 23
Check the code!
Instrumented Test Package:
vilibra/app/src/main/androidTest/java/ecar...
Intel Software and Services Group
UI Automator
24
•  Cross App Testing
•  Instrumentation Based
•  Interact with visible
e...
Intel Software and Services Group 25
UIAutomator – Vilibra Case
•  New case: automate the entire
lend process test.
•  Cla...
Intel Software and Services Group 26
Check the code!
Instrumented Test Package:
vilibra/app/src/main/androidTest/java/ecar...
Intel Information Technology
What is next?
27
•  Go ahead and automate your app testing!
•  How to integrate continous int...
Intel Software and Services Group 28
Intel Developer Zone
https://software.intel.com/en-us/android/app-testing
Intel Software and Services Group
Thanks!
29
+EduardoCarraraDeAraujo
https://www.facebook.com/ducarrara
@DuCarrara
br.link...
Intel Software and Services Group 30
References
•  Android Testing: https://developer.android.com/tools/testing/testing_an...
Placeholder Footer Copy / BU Logo or Name Goes Here
Próximos SlideShares
Carregando em…5
×

Testando Apps Android na Nuvem

411 visualizações

Publicada em

Independente de metodologia, framework ou ferramenta os testes são uma etapa essencial no desenvolvimento de qualquer aplicação ou solução de software para atingir níveis de qualidade minimamente aceitáveis pelos usuários. No entanto, com as frequentes ondas de novos devices esta tarefa tem se tornado cada vez mais árdua. Com diferentes configurações de resolução, densidade de tela, arquitetura de processador, componentes, famílias e versões de sistemas operacionais entre outras características, garantir a qualidade das apps pode se tornar uma experiência quase cataclísmica para qualquer time. Nesta palestra serão apresentadas abordagens para a utilização de automação de testes, debugging e diferentes ferramentas em Cloud que se propõem a facilitar o processo de desenvolvimento e ajudam a lidar com o fantasma da fragmentação.

Publicada em: Educação
0 comentários
0 gostaram
Estatísticas
Notas
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Sem downloads
Visualizações
Visualizações totais
411
No SlideShare
0
A partir de incorporações
0
Número de incorporações
4
Ações
Compartilhamentos
0
Downloads
8
Comentários
0
Gostaram
0
Incorporações 0
Nenhuma incorporação

Nenhuma nota no slide

Testando Apps Android na Nuvem

  1. 1. Íntel Software and Services Group Testing Your APP in the cloudEduardo Carrara Developer Evangelist – Intel Developers Relations Division
  2. 2. Intel Software and Services Group #Android OnIntel 2 +EduardoCarraraDeAraujo https://www.facebook.com/ducarrara @DuCarrara br.linkedin.com/in/eduardocarrara/ ecarrara-araujo
  3. 3. Intel Software and Services Group 3
  4. 4. Intel Software and Services Group 4 “Testers don’t break software, software is already broken” – Amir Ghahrai
  5. 5. Intel Software and Services Group 5 Challenges AutomationFragmentation
  6. 6. Intel Software and Services Group 6
  7. 7. Intel Software and Services Group 7 Fragmentation Screen size/density variety Different Processor Many OS versions
  8. 8. Intel Software and Services Group How can the cloud help? •  $$$ •  Devices that are hard to find •  Scale
  9. 9. Intel Software and Services Group 9
  10. 10. Intel Software and Services Group 10
  11. 11. Intel Software and Services Group 11
  12. 12. Intel Software and Services Group 12
  13. 13. Intel Software and Services Group 13
  14. 14. Intel Software and Services Group 14
  15. 15. Intel Software and Services Group 15
  16. 16. Intel Software and Services Group 16 What can I use with it? JUnit UI Automator Calabash
  17. 17. Intel Software and Services Group 17 Other services? AWS Device Farm Google Cloud Test Lab Open STF Test Cloud
  18. 18. 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 18 Image by Karla Vidal @ http://www.flickr.com/photos/63721650@N00/3661526274 Creative Commons cc-by-2.0
  19. 19. Intel Software and Services Group 19 JUnit UI Automator Android Testing Support Library
  20. 20. Intel Software and Services Group 20 JUnit
  21. 21. Intel Software and Services Group Espresso 21 •  Simplifies the UI Test Process within your App •  Methods for: •  View matching •  Checks •  UI Events
  22. 22. Intel Software and Services Group 22 Espresso – Vilibra Case •  Virtual Librarian •  Help to remember the books I lend •  How to automate the lend details view? •  Class: TestViewLendedBookDetailFlow
  23. 23. Intel Software and Services Group 23 Check the code! Instrumented Test Package: vilibra/app/src/main/androidTest/java/ecarrara/eng/vilibra/ Test Class: TestViewLendedBookDetailFlow.java
  24. 24. Intel Software and Services Group UI Automator 24 •  Cross App Testing •  Instrumentation Based •  Interact with visible elements using descriptors (like text).
  25. 25. Intel Software and Services Group 25 UIAutomator – Vilibra Case •  New case: automate the entire lend process test. •  Class: TestLendBookFlow
  26. 26. Intel Software and Services Group 26 Check the code! Instrumented Test Package: vilibra/app/src/main/androidTest/java/ecarrara/eng/vilibra/ Test Class: TestLendBookFlow.java
  27. 27. Intel Information Technology What is next? 27 •  Go ahead and automate your app testing! •  How to integrate continous integration and delivery with Android? •  Code Coverage •  Mocking “If you don’t like testing your product, most likely your customers won’t like to test it either.” - Anonymous
  28. 28. Intel Software and Services Group 28 Intel Developer Zone https://software.intel.com/en-us/android/app-testing
  29. 29. Intel Software and Services Group Thanks! 29 +EduardoCarraraDeAraujo https://www.facebook.com/ducarrara @DuCarrara br.linkedin.com/in/eduardocarrara/ ecarrara-araujo/vilibra
  30. 30. Intel Software and Services Group 30 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
  31. 31. Placeholder Footer Copy / BU Logo or Name Goes Here

×