Skip to content

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

Notifications You must be signed in to change notification settings

lilinor/appium-parallel-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 UiAutomator2Options().setApp($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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages