Skip to content

Instantly share code, notes, and snippets.

@almostwhitehat
Created November 13, 2014 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save almostwhitehat/89370eb8eb856c93f835 to your computer and use it in GitHub Desktop.
Save almostwhitehat/89370eb8eb856c93f835 to your computer and use it in GitHub Desktop.
Before do |scenario|
tagged_as_a_bug = scenario.source_tag_names.any? { |tag| tag.start_with? '@Bug-' }
if tagged_as_a_bug
STDOUT.puts 'Skipped - Bug'
scenario.skip_invoke!
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment