For features or bug fixes, please submit a pull request. Ideally there would be a test as well. The remainder of this doc details how to run the tests.
If you'd like to adding new driver commands, please refer to https://github.com/appium/ruby_lib_core
- Tests are run against appium's master branch
- The tests are run using the flaky gem on OS X
- The
arc
command can be run from within theios_tests
orandroid_tests
folder to open an interactive console
iOS tests are run on the iPhone 6 / iOS 9.3 simulator.
cd ios_tests
flake 3 ios
- Run all the iOS tests up to 3 times
Android tests require running on physical hardware with Android 5.0 (API 21). The emulator is unreliable.
cd android_tests
flake 3 android
- Run all the Android tests up to 3 times
- Ensure you have
~/.gem/credentials
If not run the following command (replace username with your rubygems user)
$ curl -u username https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
- Bump the version number:
thor bump
(bumpy
,bumpz
) - Update
CHANGELOG.md
- Generate release note, publish release gem and push the tag to this repository:
thor release