lilinor / appium-parallel-testing

Parallel testing for android using appium (parallel & test sharding) with flaky tests handling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Appium parallel testing

Parallel testing for Android using Appium with TestNG

A Riddle application is used for testing. It runs 2 same tests on 2 devices. The application needs to be already installed on the device but you can change those 2 lines to capabilities.setCapability(MobileCapabilityType.APP, $PWD/Apps/appriddle.apk); where $PWDis the absolute path where your project is located

Configuring devices used for testing is there. Replace the udid by the ADB serial number of the device.

Run the tests :

1/ Start the devices and connect it to your computer/CI server

2/ Start appium server

appium

3/ Run project

mvn test

To see an example of :

  • test sharding (splitting a set of tests and run each batch on several devices), please refer to the test_sharding branch
  • implementing retries to avoid flaky tests, please refer to the flaky_tests branch.

About

Parallel testing for android using appium (parallel & test sharding) with flaky tests handling


Languages

Language:Java 100.0%