Cucumber::EnSnippet
Output cucumber step definition snippets in English regardless of a language header.
Installation
Add this line to your application's Gemfile:
gem 'cucumber-en_snippet'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cucumber-en_snippet
Usage
Require this library in your ruby files under features/support
.
require 'cucumber/en_snippet'
Then, run cucumber with snippet type option -I
.
bundle exec cucumber -I en_regexp
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request