June 24, 2019 Jonny Steiner

Your Continuous Testing Cheat Sheet

Share this knowledge!

Everything you need to do in order to build a mobile app test automation project that runs hands free as part of your CI.

  • Mobile application
  • Mobile devices – local or remote
  • Mobile application test development tool
  • (Appium Studio, Appium, XCTest, Espresso)
  • Repository (Maven, Gradle…)
  • Continuous integration tool
  • Grid execution
  • Test cases
  • Device and OS coverage requirements

This cheat sheet uses Appium Studio, Eclipse, GIT, Jenkins, Jira, and SeeTest Digital assurance lab.

1) Develop tests using a test development environment (Appium Studio)

  • Connect to a real device or an emulator
  • Record your tests or use a test editor
  • Run your tests to validate them
  • Export your code for use in an IDE

2) Create an automation project using your IDE (Eclipse/IntelliJ)

  • Create a new Java class
  • Create a GIT repository
  • Clone your GIT and create Java Gradle projects
  • Add automation framework dependencies
  • Build a basic framework
  • AddGrid configuration to project – URL and access core (or check in Appium Studio to automatically include)
  • Paste your tests in the project, define target platforms and devices
  • Set up your automation (which tests to run, parallelization
  • Add build ID key to your tests
  • Execute in your Eclipse IDE to validate

3) Set up your Continuous Integration tools to trigger automation (Jenkins)

  • Configure GIT respository
  • Create a Jenkins job
  • Configure Environment variables (ENV VARS)
  • Configure parameterized build
  • Executed from Jenkins and check reports

4) Run your continuous testing

  • Set up job execution trigger (commit new code/procedural cron/web-hook execution)
  • Check your triggering works and that reports are gathered, presented and analyzed

5) Watch how your feedback time and quality KPIs improve

To download the full whitepaper click here.

Guy Arieli, CTO, Experitest

Share this knowledge!