ruby_lib's Android tests. Requires Ruby 2.2+ or better.
Tests use non-global drivers by default. To check legacy global mode, run
APPIUM_TEST_GLOBAL_DRIVER=true bundle exec rake android. Both modes use the
same test cases and explicitly close their session after the run.
rake installInstall gems required to run the tests.rake androidRun all tests.rake android['android/element/generic']Run a single test.arcOpens the Appium Ruby Console (arc). Enables interactive testing.gem install appium_consoleif it's not installed already.
api.apk is from appium/android-apidemos The way to generate api.apk is described in the repository.
Finished in 2 mins 57 secs 106 runs, 144 assertions, 0 failures, 0 errors, 0 skips
- apk
appium.txt[caps] platformName = "android" deviceName = "Nexus 7" app = "../test_apps/api.apk" appPackage = "io.appium.android.apis" appActivity = "io.appium.android.apis.ApiDemos" some_capability = "some_capability" androidCoverage = 'io.appium.android.apis/io.appium.android.apis.app.LocalSampleInstrumentation' [appium_lib] sauce_username = "" sauce_access_key = ""