Skip to content

Latest commit

 

History

History
executable file
·
42 lines (34 loc) · 1.22 KB

File metadata and controls

executable file
·
42 lines (34 loc) · 1.22 KB

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