generator-cucumber-capybara

Yeoman generator for Cucumber based on Ruby (Bundler, Cucumber, Capybara, Siteprism, RSpec).

Usage no npm install needed!

<script type="module">
  import generatorCucumberCapybara from 'https://cdn.skypack.dev/generator-cucumber-capybara';
</script>

README

generator-cucumber

A Yeoman generator for Cucumber Capybara based on Ruby Cucumber (Bundler, Cucumber, Capybara, Siteprism, RSpec)

Installation

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-capybara

Basic 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