GithubHelp home page GithubHelp logo

xiaoniuniu2018 / appium-uiautomator2-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appium/appium-uiautomator2-server

0.0 0.0 0.0 3.36 MB

License: Apache License 2.0

Java 99.76% JavaScript 0.13% Shell 0.11%

appium-uiautomator2-server's Introduction

appium-uiautomator2-server

Codacy Badge Build Status

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:

appium-uiautomator2-server's People

Contributors

sravanmedarapu avatar mykola-mokhnach avatar imurchie avatar alexander-kachechka avatar anandsadu avatar jlipps avatar kazucocoa avatar vmaxim avatar dpgraham avatar danielputerman avatar rjaros87 avatar vijay-chavakula avatar greenkeeper[bot] avatar meprabhatr avatar carlgege avatar mgkeeley avatar ajeeshvl avatar anton659011 avatar codacy-badger avatar devstrat avatar jnhyperion avatar khanhdodang avatar mstrelex avatar paweldomas avatar sshock avatar prakashgoulla avatar sanebow avatar jjangah avatar tri-fraga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.