Skip to content

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

Notifications You must be signed in to change notification settings

leoduprates/ruby-web-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published