Mobile testing @ stughh

78
Mobile Testing @ STUGHH Alles was Ihr schon immer über Mobile Testing wissen wollt

Transcript of Mobile testing @ stughh

Page 1: Mobile testing @ stughh

Mobile Testing @ STUGHH

Alles was Ihr schon immer über Mobile Testing wissen wollt

Page 2: Mobile testing @ stughh

Daniel Knott

@dnlknttwww.adventuresinqa.com

2www.handsonmobileapptesting.com https://leanpub.com/smartwatchapptestinghttp://bit.ly/2bUasW8

Page 3: Mobile testing @ stughh

Warum ist Mobile Testing sowichtig?

3

Page 4: Mobile testing @ stughh

4

Page 5: Mobile testing @ stughh

5

https://twitter.com/_adrianhinojosa/status/757015786057641985

Page 6: Mobile testing @ stughh

6

Pokémon Go

Page 7: Mobile testing @ stughh

7

Jede App kann über Nacht zum Hype werden!

Page 8: Mobile testing @ stughh

8

Und dann sollte die Appstabil sein!

http://www.trustedreviews.com/opinions/how-to-fix-common-pokemon-

go-problems-bugs-issues

http://www.gameswelt.de/pokemon-go/special/die-5-nervigsten-

bugs,261518

Page 9: Mobile testing @ stughh

9

Eine Technologie kann unser Leben und die Art wie wir kommunizieren grundlegend verändern.

Page 10: Mobile testing @ stughh

10

Page 11: Mobile testing @ stughh

11

Mobile Devices & Apps werden überall verwendet

Page 12: Mobile testing @ stughh

12

Author: Ian Britton, http://www.flickr.com/photos/freefoto/728651045/

Page 13: Mobile testing @ stughh

13

Author: Dan Levy, http://www.flickr.com/photos/danlevy/5607259711/

Page 14: Mobile testing @ stughh

14

https://pixabay.com/static/uploads/photo/2015/04/22/09/21/barcelona-734422_960_720.jpg

Page 15: Mobile testing @ stughh

15

Author: Moyan Brenn, https://www.flickr.com/photos/aigle_dore/5626341059/

Page 16: Mobile testing @ stughh

16

© Daniel Knott

Page 17: Mobile testing @ stughh

17

https://upload.wikimedia.org/wikipedia/commons/3/3c/Blick-ins-Buero.jpg

Page 18: Mobile testing @ stughh

18

Und je nach Use Case sollten Apps auch in der

echten Umgebung getestet werden

Page 19: Mobile testing @ stughh

Eure Fragen

19

Page 20: Mobile testing @ stughh

20

Welches minimal Set an nicht funktionalen Tests

siehst du als absolut notwendig an?

Page 21: Mobile testing @ stughh

21

1. Usability Tests2. Security Tests3. Performance Tests4. Update Test5. Check Log Files

Page 22: Mobile testing @ stughh

22

Kann man eine spezielle Kategorie von

funktionalen Tests definieren, wo ein Test

mit verschiedenen Devices ein Muss ist?

Page 23: Mobile testing @ stughh

23

Ja, immer dann wenn gerätespezifische

Hardwarekomponenten genutzt werden.

Page 24: Mobile testing @ stughh

24

Author: amateur_photo_bore, http://www.flickr.com/photos/andresv/233667770/ Author: Rain Rabbit, http://www.flickr.com/photos/37996583811@N01/8033259053/

Author, Daniel Sancho, http://www.flickr.com/photos/teclasorg/2852716491/Author: Juan de Dios Santander Vela, http://www.flickr.com/photos/juandesant/209098053

Page 25: Mobile testing @ stughh

25

https://fscl01.fonpit.de/userfiles/6727621/image/2016/HeroS-random/AndroidPIT-android-uis-4371-w782.jpg

Page 26: Mobile testing @ stughh

26

Was sind die aktuellen Trends an

Toolunterstützung?

Page 27: Mobile testing @ stughh

27

Github

HockeyAppLint

PMDFindBugs

CheckStyleRobolectric

Espresso

UIAutomator

KIF CalabashCocoapods

ExpectaXCTest

FBSnapshot

openSTF

...Appium Crashlytics

EarlgreyOCUnit

Robotium monkey

Chaos monkey

adb

Charles Proxy

Page 28: Mobile testing @ stughh

28

Calabash

monkey

HockeyApp

Espresso

adb

Charles Proxy

Page 29: Mobile testing @ stughh

29

Mobile Testing==

manuelles Testen

Page 30: Mobile testing @ stughh

30

Tools sollten das Testen unterstützen

Page 31: Mobile testing @ stughh

31

Calabash

monkey

HockeyApp

adb

Charles Proxy

Page 32: Mobile testing @ stughh

32

Wie sieht eine angemessene Strategie für die Testautomatisierung mit Blick auf die hohe

Fragmentierung im Bereich Android aus? Oder anders herum: Vorausgesetzt, es gibt eine

Testsuite für automatisierte Tests (sagen wir 400 TCs), auf wie vielen Geräten kommt die dann

tatsächlich zur Anwendung ?

Page 33: Mobile testing @ stughh

33

Antwort: Es kommt drauf an J

Page 34: Mobile testing @ stughh

34

http://opensignal.com/reports/2015/08/android-fragmentation/

Page 35: Mobile testing @ stughh

35

Page 36: Mobile testing @ stughh

36

Wichtig sind Nutzerdaten- Tracking

Page 37: Mobile testing @ stughh

37

Page 38: Mobile testing @ stughh

38

Group 1, Prio A

- High End Devices- Quad Core CPU- RAM >2048MB- Full HD Display >= 5“

Group 2, Prio B

- Mid-range devices- Dual Core CPU- RAM <1024MB- Screen size <= 4“- Software not older than 1 year

Group 3, Prio C

- Small devices- Single Core- RAM < 512MB- Low screen size and resolution

- Older OS, older browser

Basierend auf den Nutzerstatistiken

Page 39: Mobile testing @ stughh

39

Aus jeder Gruppe 3-4 Geräte= 9 bis 12 Geräte für die Automatisierung nutzen

Page 40: Mobile testing @ stughh

40

Kleine Testsuites

Page 41: Mobile testing @ stughh

41

Was glaubst Du, wie stark manaufgrund der hohen

Fragmentierung der Geräte im Androidsegment auf A/B-Tests bei Endusern setzen sollte bzw. machst Du das viel und nimmt

dies an Testcases zu?

Page 42: Mobile testing @ stughh

42

Antwort: Ja und Ja J

Page 43: Mobile testing @ stughh

43

Problem: Der Nutzer

Page 44: Mobile testing @ stughh

44

Ich nehme an, man kommt nichtumher, sich auch echte Geräte

anzuschaffen. Welche Tipps hast Du für ein Lab Management?

Page 45: Mobile testing @ stughh

45

Wichtig sind Nutzerdaten- Tracking

Page 46: Mobile testing @ stughh

46

Page 47: Mobile testing @ stughh

47

Page 48: Mobile testing @ stughh

48

Geräte aus den Gerätegruppen kaufen

Page 49: Mobile testing @ stughh

49

Top 15 Geräte der Nutzer kaufen

Page 50: Mobile testing @ stughh

50

Geräte gruppieren

Page 51: Mobile testing @ stughh

51

Mobile Device Management sehr wichtig

Page 52: Mobile testing @ stughh

52

Mobile Rental Tool

Page 53: Mobile testing @ stughh

53

Internal App Store

Page 54: Mobile testing @ stughh

54www.openstf.io

Android Test Farm

Page 55: Mobile testing @ stughh

55

DEMO

https://medium.com/xing-engineering/android-smartphone-test-farm-66f28f9bc73d#.oejn8d1jl

Page 56: Mobile testing @ stughh

56

Welche Art von (technischem) Monitoring scheint sinnvoll,

nachdem die App in Gebrauch ist? Und wie kann man die App

Store Bemerkungen sinnvoll nutzen?

Page 57: Mobile testing @ stughh

57

Crash Reporting Tools

Page 58: Mobile testing @ stughh

58

HockeyAppTestflight

Crashlytics...

Page 59: Mobile testing @ stughh

59

Page 60: Mobile testing @ stughh

60

Page 61: Mobile testing @ stughh

61

Page 62: Mobile testing @ stughh

62

Eigenes Monitoring / TrackingGraylog 2

...

Page 63: Mobile testing @ stughh

63

- Review der Reviews- Antworten & Nachfragen- Nicht alles zu ernst

nehmen

Page 64: Mobile testing @ stughh

64

Page 65: Mobile testing @ stughh

65

Page 66: Mobile testing @ stughh

66

Habt ihr eine sinnvolle Strategie für die Verzahnung der

Ergebnisse aus manuellen und automatisierten Tests für den Report oder liefern die beiden

Testarten mit Hilfe unterschiedlicher Tools

unterschiedliche Reports?

Page 67: Mobile testing @ stughh

67

Nein, Keine Strategie

Page 68: Mobile testing @ stughh

68

Statische Code Analyse == GrünTest Automation == Grün

6+ Augen Prinzip bei Code Review

Manuelle Tests == OKCommit auf Master Branch

Page 69: Mobile testing @ stughh

69

Manuelle Tests werden nicht in einem TM Tool gelistet.

Exploratives TestenContext Driven Testing

Mind Maps sind unsere Freunde

Page 70: Mobile testing @ stughh

70

Welche Android Versionen sind denn interessant?Halten sich gewisse ältere Minor Versionen, obwohl es schon längst neuere Versionen gibt? (Also z.B. 4.3 - obwohl 4.4 schon länger veröffentlicht ist)

Page 71: Mobile testing @ stughh

71

Antwort: Es kommt drauf an J

Page 72: Mobile testing @ stughh

72

Unterschiedlich je nach Appund Land in

denen die App verfügbar ist

Page 73: Mobile testing @ stughh

73

https://developer.android.com/about/dashboards/index.html

Page 74: Mobile testing @ stughh

74

Page 75: Mobile testing @ stughh

75

Alles unter Android 4.0 wird meist nicht mehr unterstützt

Page 76: Mobile testing @ stughh

76

Viele App Hersteller unterstützen nur noch ab

Android 4.4

Page 77: Mobile testing @ stughh

Weitere Fragen?

77

Page 78: Mobile testing @ stughh

Vielen Dank für IhreAufmerksamkeit!www.xing.com

Daniel Knott@[email protected]