An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

cucumber-ruby-app-browserstack
=====================
![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)

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/)