Guard::Cucumber
CoffeeScript guard allows to automatically launch Cucumber features when files are modified.
-
Tested on Ruby 1.8.7 & 1.9.2.
Install
Please be sure to have guard installed before continue.
Install the gem:
gem install guard-cucumber
Add it to your Gemfile (inside test group):
gem 'guard-cucumber'
Add guard definition to your Guardfile by running this command:
guard init cucumber
Usage
Please read guard usage doc
Guardfile
Cucumber guard can be really be adapated to all kind of projects. Please read guard doc for more info about Guardfile DSL.
guard 'cucumber' do
watch('^features/(.*).feature')
watch('^features/support') { 'features' }
watch('^features/step_definitions') { 'features' }
end
Development
-
Source hosted at GitHub
-
Report issues/Questions/Feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested.
Authors
Kudo
Many thanks to Thibaud Guillaume-Gentil for creating the excellent guard gem.