Skip to content

A sample for BDD testing framework using Cucumber and Ruby

Notifications You must be signed in to change notification settings

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

No packages published