Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

ruby_lib_android

ruby_lib's Android tests. Requires Ruby 2.2+ or better.

  • rake install Install gems required to run the tests.
  • rake android Run all tests.
  • rake android['android/element/generic'] Run a single test.
  • arc Opens the Appium Ruby Console (arc). Enables interactive testing.
    • gem install appium_console if it's not installed already.

api.apk is from appium/android-apidemos The way to generate api.apk is described in the repository.

Documentation

--

These results are run against Intel HAXM emulator (Nexus 7, Android 5.0.1, API 21)

Finished in 2 mins 57 secs

106 runs, 144 assertions, 0 failures, 0 errors, 0 skips

Coverage

[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 = ""