https://github.com/browserstack/cucumber-ruby-appium-app-browserstack
https://github.com/browserstack/cucumber-ruby-appium-app-browserstack
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/browserstack/cucumber-ruby-appium-app-browserstack
- Owner: browserstack
- Created: 2017-10-25T11:58:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-23T22:46:41.000Z (over 2 years ago)
- Last Synced: 2025-04-22T21:06:57.317Z (11 months ago)
- Language: Ruby
- Size: 55.7 KB
- Stars: 7
- Watchers: 15
- Forks: 18
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cucumber-ruby-app-browserstack
=====================

Code samples to get started with Appium tests for your Native App using the Cucumber framework.
## Setup
### Requirements
1. Ruby: If you don't have Ruby installed, follow the instructions given [here](https://www.ruby-lang.org/en/documentation/installation/)
2. Bundler : If you dont have Bundler installed, follow the instructions given [here](https://bundler.io/)
### Install the dependencies
To install the dependencies for Android tests, run :
```sh
cd android/examples
bundle install
```
Or,
To install the dependencies for iOS tests, run :
```sh
cd ios/examples
bundle install
```
## Getting Started
Getting Started with Appium tests in Cucumber Ruby on BrowserStack couldn't be easier!
### **Run first test :**
- Switch to `run_first_test` directory under [Android examples](android/examples) or [iOS examples](ios/examples)
- Follow the steps outlined in the documentation - [Get Started with your first test on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/ruby/cucumber)
### **Speed up test execution with parallel testing :**
- Switch to `run_parallel_test` directory under [Android examples](android/examples/) or [iOS examples](ios/examples/)
- Follow the steps outlined in the documentation - [Get Started with parallel testing on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/ruby/cucumber/local-testing)
### **Use Local testing for apps that access resources hosted in development or testing environments :**
- Switch to `run_local_test` directory under [Android examples](android/examples/) or [iOS examples](ios/examples/)
- Follow the steps outlined in the documentation - [Get Started with Local testing on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/ruby/cucumber/local-testing)
## Getting Help
If you are running into any issues or have any queries, please check [Browserstack Support page](https://www.browserstack.com/support/app-automate) or [get in touch with us](https://www.browserstack.com/contact?ref=help).
Note: For other test frameworks supported by App-Automate refer our [Developer documentation](https://www.browserstack.com/docs/)
## Addtional Resources
* [Cucumber](https://cucumber.io/)