diff --git a/Guardfile b/Guardfile index 5b076c9..4253568 100644 --- a/Guardfile +++ b/Guardfile @@ -1,7 +1,7 @@ # A sample Guardfile # More info at https://github.com/guard/guard#readme -guard 'cucumber', :notification => true, :all_after_pass => true, :cli => '--profile default' do +guard 'cucumber', :notification => true, :all_after_pass => true, :cli => '--profile focus' do watch(%r{^features/.+\.feature$}) watch(%r{^features/support/.+$}) { 'features' } watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' } diff --git a/cucumber.yml b/cucumber.yml index 75e5277..67b2404 100644 --- a/cucumber.yml +++ b/cucumber.yml @@ -1,2 +1,3 @@ default: --no-source --color --format pretty +focus: --no-source --color --format pretty --tags @focus