Sha256: d732d7acbeed4f5f5ebe161c08ced820cbdaa5b3b1013aee76d6fe108cf3377f

Contents?: true

Size: 1.51 KB

Versions: 24

Compression:

Stored size: 1.51 KB

Contents

# Contributing

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.

## Tests

- Tests are run against [appium's master branch](https://github.com/appium/appium/blob/master/docs/en/contributing-to-appium/appium-from-source.md)
- The tests are run using the [flaky gem](https://github.com/appium/flaky) on OS X
- The `arc` command can be run from within the `ios_tests` or `android_tests` folder to open an interactive console

### Run iOS tests

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

### Run Android tests

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

### Publishing

0. Ensure you have `~/.gem/credentials` If not run [the following command](http://guides.rubygems.org/make-your-own-gem/) (replace username with your rubygems user)
> $ curl -u username https://rubygems.org/api/v1/api_key.yaml >
~/.gem/credentials; chmod 0600 ~/.gem/credentials

1. Bump the version number `rake bump`
2. Generate release note and create a branch with `rake release`
    - Push and merge the branch to the master
3. Build and publish gem with `rake publish`
4. Add release information on GitHub: https://github.com/appium/ruby_lib/releases
    - Template
 ```
### 1. Enhancements

### 2. Bug fixes

### 3. Deprecations
```

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
appium_lib-9.4.9 contributing.md
appium_lib-9.4.8 contributing.md
appium_lib-9.4.7 contributing.md
appium_lib-9.4.6 contributing.md
appium_lib-9.4.5 contributing.md
appium_lib-9.4.4 contributing.md
appium_lib-9.4.3 contributing.md
appium_lib-9.4.2 contributing.md
appium_lib-9.4.1 contributing.md
appium_lib-9.4.0 contributing.md
appium_lib-9.3.8 contributing.md
appium_lib-9.3.7 contributing.md
appium_lib-9.3.6 contributing.md
appium_lib-9.3.5 contributing.md
appium_lib-9.3.4 contributing.md
appium_lib-9.3.3 contributing.md
appium_lib-9.3.2 contributing.md
appium_lib-9.3.1 contributing.md
appium_lib-9.3.0 contributing.md
appium_lib-9.2.0 contributing.md