Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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