Skip to content

Commit

Permalink
conveniently attach sample options (template)
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed Apr 28, 2016
1 parent 9698b17 commit 8978fa0
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion lib/guard/cucumber/templates/Guardfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
guard "cucumber" do
cucumber_options = {
# Below are examples overriding defaults

# cmd: 'bin/cucumber',
# cmd_additional_args: '--profile guard',

# all_after_pass: false,
# all_on_start: false,
# keep_failed: false,
# feature_sets: ['features/frontend', 'features/experimental'],

# run_all: { cmd_additional_args: '--profile guard_all' },
# focus_on: { 'wip' }, # @wip
# notification: false
}

guard "cucumber", cucumber_options do
watch(%r{^features/.+\.feature$})
watch(%r{^features/support/.+$}) { "features" }

Expand Down

0 comments on commit 8978fa0

Please sign in to comment.