Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 2.76 KB

README.md

File metadata and controls

90 lines (67 loc) · 2.76 KB

Ruby Selenium Cucumber LinkedIn

Ruby Web Testing

Behavior driven development (BDD) approach to write automation test scripts to test web applications using Ruby, Selenium and Cucumber.

Project Architecture

The project architecture uses the standard Cucumbers structure.

ruby-web-testing/
├── config
├── features
│   ├── page_objects
│   ├── step_definitions
│   ├── support
├── reports
│   ├── html
│   ├── json
│   ├── screenshots
├── resources
│   ├── demo_app

Built With

Design Patterns

This project uses the design patterns from Rubocop Ruby Style Guide.

Getting Started

  1. Install Ruby using Official Documentation.

  2. Download and setup the chromedriver, geckodriver and operachromiumdriver.

  3. Install Bundler

    $ gem install bundler
  4. Install Dependencies

    $ bundle install
  5. Run Tests

    $  bundle exec cucumber -t @tag BROWSER=chrome
  6. Run Rubocop (Linter)

    $  rubocop
  7. Run Rufo (Prettier)

    $  rufo --check .

Links