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

https://github.com/prashanth-sams/ruby-appium-framework

A basic ruby appium framework with cucumber flavor on Vivino Android app
https://github.com/prashanth-sams/ruby-appium-framework

appium appium-framework appium-ruby cucumber ruby-appium-framework selenium-webdriver

Last synced: about 2 months ago
JSON representation

A basic ruby appium framework with cucumber flavor on Vivino Android app

Awesome Lists containing this project

README

          

# Ruby Appium Framework | Boilerplate
> A basic ruby appium framework with cucumber flavor on Vivino Android app

## Highlights
- Added a complete end-to-end scenario from `user registration -> login`
- Used cucumber version `cucumber 5.1.0 (latest)`
- Executed tests in both `browserstack` and `local` environments
- Applied Ruby standards through-out the framework and tests
- Cleared Rubocop `Linter` check through Github actions

## Steps before Run
> **Note:** make sure that you have `RVM` and `Ruby` installed on prior; install `allure cli` which is optional
>
> ```
> curl -L https://get.rvm.io | bash -s stable --auto-dotfiles --autolibs=enable --ruby
> source ~/.rvm/bin/rvm
> bash --login
> brew install allure
> ```

- Create a gem profile specific to the project
```
rvm gemset create vivino
rvm gemset use vivino
```

- Install ruby libraries
```
gem install bundler
bundle install
```

## Runners

| Action | Command |
| -------------- | --------- |
| Bash runner | `bundle exec bash runner/prod/local.sh` |
| Default | `bundle exec rake vivino:run` |

**Note:** Set `BROWSERSTACK=ON` for running tests through my browserstack account

![Cucumber 5.1.0 report](https://i.imgur.com/FNmYyEP.png)