Skip to content

arsoedjono/cucumber-ruby-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cucumber Ruby Sample

A sample BDD framework using Cucumber and Ruby

Installation

  1. Prepare your Ruby environment, it is recommended to use RVM
curl -sSL https://get.rvm.io | bash -s stable --ruby
source ~/.bash_profile
  1. Open the project and install its dependecies
cd cucumber-ruby-sample
gem install bundler
bundle install
  1. You are ready to go...

Profiles

Profile Command
API cucumber -p api

Folder Structure

β”œβ”€β”€ config                    -- profile configuration folder
β”‚   β”œβ”€β”€ profiles              -- each profile folders
β”‚   └── cucumber.yml          -- profile configuration
β”‚
β”œβ”€β”€ features
β”‚   β”œβ”€β”€ object_abstractions   -- object abstraction (e.g. page object) folder for each profile
β”‚   β”‚   └── profiles
β”‚   β”œβ”€β”€ scenarios             -- Cucumber scenarios folder
β”‚   β”‚   └── profiles
β”‚   β”œβ”€β”€ step_definitions      -- Cucumber step definitions folder
β”‚   β”‚   └── profiles
β”‚   └── support               -- Cucumber configuration folder
β”‚       └── env.rb

About

A sample for BDD testing framework using Cucumber and Ruby

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors