Skip to content

thomascarpentier/appium-uiautomator2-server

This branch is 386 commits behind appium/appium-uiautomator2-server:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ae3d544 · Dec 6, 2019
Dec 6, 2019
May 8, 2019
May 7, 2018
Nov 9, 2019
Feb 22, 2018
Jan 12, 2018
Nov 24, 2019
Oct 16, 2017
Jul 20, 2019
Nov 9, 2019
Aug 24, 2016
Jan 22, 2018
May 17, 2016
May 30, 2019
Jan 11, 2018
Dec 6, 2019
May 17, 2016

Repository files navigation

Codacy Badge Build Status Greenkeeper badge

appium-uiautomator2-server

A netty server that runs on the device listening for commands and executes using UiAutomator V2.

building project

build the android project using below commands

gradle clean assembleServerDebug assembleServerDebugAndroidTest

Starting server

push both src and test apks to the device and execute the instrumentation tests.

adb shell am instrument -w io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner

run unitTest

build the unitTest flavor using the below commands

gradle clean assembleE2ETestDebug assembleE2ETestDebugAndroidTest

unitTest flavor contains tests for handlers and can be invoked by using following command

gradle clean connectedE2ETestDebugAndroidTest

the above command takes care about installing the AUT apk in to the testing device/emulator before running the tests.

you can also invoke the test using below command

adb shell am instrument -w io.appium.uiautomator2.e2etest.test/androidx.test.runner.AndroidJUnitRunner

Note: AUT apk should be installed before executing above command.

Other Sections:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • Other 0.2%