Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mobile Testing @AutoScout24

Mobile Testing @AutoScout24

The talk will give an insight into the world of mobile testing and dealing among other things with the following questions:
* What infrastructure do I need to testiOS & Android apps?
* What is the setup for this?
* How can the development process look like?
* What is the practical implementation for Android & iOS?

Felix Schulze

July 15, 2014
Tweet

More Decks by Felix Schulze

Other Decks in Technology

Transcript

  1. Earlier 1 % iOS 6 9 % iOS 7 90

    % App Store July 2014 Earlier 0,4 % Gingerbread (2.3) 13,5 % Ice Cream (4.0) 11,4 % Jelly Bean (4.1-4.3) 56,8 % KitKat (4.4) 17,9 % Play Store July 2014
  2. @x2on Continuous Integration • Tool • Minimize risk & Quality

    improvement • Automate! • Example: Xcode Bots, Jenkins, TeamCity, Bamboo, ...
  3. Hard & Software Setup • Server: • TeamCity Continuous Integration

    Server • Build Agents: • Mac Mini’s in 19’’ Racks • Mac OS X 10.9 / Xcode 5 / Homebrew / JDK 7
  4. Android automatic test devices • 19’’ Rack Case • Mac

    Mini with two 10 Port USB 3.0 Hubs • Many Android Devices
  5. Android Setup • Tests: • Robotium • Spoon • gradle-spoon-plugin

    • ADB-Sanity-Check • Package: • gradle • gradle-hockeyapp-plugin
  6. iOS Setup • Tests • xctool • xtool teamcity reporter

    (FSJUnitTestLogger) • Package • xctool • gradle-hockeyapp-plugin
  7. iOS Tests • Unit Tests: Apple XCTest • Mock: OCMock

    3 • View Tests: ios-snapshot-test-case • PNG view rendering / compare
  8. Automatic Alpha Versions • iOS: Enterprise Dev Account • Hockey

    App • Automatic In-App-Updates • Crash Reports • Usage Statistics
  9. REST Tests • Rest Assured • Java DSL for REST

    Testing expect().
 body("vehicle.id", equalTo(456)).
 body("vehicle.title", equalTo("Test").
 when().
 get("/vehicle?id=456");