Skip to content

Instantly share code, notes, and snippets.

@wellavelino
Created April 5, 2019 12:50
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 wellavelino/f2e0376b9a7c93eae8e83c8b85489b1f to your computer and use it in GitHub Desktop.
Save wellavelino/f2e0376b9a7c93eae8e83c8b85489b1f to your computer and use it in GitHub Desktop.
report
task :run_features, [:feature, :scenario] do |_task, args|
puts "Running #{args[:feature]} feature with #{args[:scenario]} scenarios and report"
sh "cucumber -t @#{args[:feature]} -t @#{args[:scenario]} -f html -o #{args[:scenario]}_scenarios.html"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment