generator-cucumber-capybara
v0.0.2
Published
Yeoman generator for Cucumber based on Ruby (Bundler, Cucumber, Capybara, Siteprism, RSpec).
Maintainers
Readme
generator-cucumber
A Yeoman generator for Cucumber Capybara based on Ruby Cucumber (Bundler, Cucumber, Capybara, Siteprism, RSpec)
Installation
- Install Ruby 2.3.1 from https://www.ruby-lang.org/en/downloads/ or via RVM (https://rvm.io/).
- Install
yoand this generator globally:
npm install -g yo generator-cucumber-capybara- Navigate to the directory you'd like to use for your project and run the generator:
cd my-app
yo cucumber-capybaraBasic Guide
- Run tests with
poltergeist
bundle exec cucumber -p poltergeist- Run tests with
firefox
bundle exec cucumber -p firefox- Run tests with
chrome
bundle exec cucumber -p chrome- HTML Report
bundle exec cucumber -p html_report- JSON Report for CI
bundle exec cucumber -p json_report