Skip to content

Instantly share code, notes, and snippets.

@wellavelino
Last active April 5, 2019 12:48
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/2509d8ef3932fb17c12312ef4b233952 to your computer and use it in GitHub Desktop.
Save wellavelino/2509d8ef3932fb17c12312ef4b233952 to your computer and use it in GitHub Desktop.
rake
require 'rubygems'
require 'cucumber'
require 'cucumber/rake/task'
desc 'Execute fast scenarios'
task :fast_scenarios do
puts 'Running fast scenarios'
sh 'cucumber -t @fast'
end
desc 'Execute critic scenarios'
task :critic_scenarios do
puts 'Running critic scenarios'
sh 'cucumber -t @critic'
end
desc 'Execute slow scenarios'
task :slow_scenarios do
puts 'Running slow scenarios'
sh 'cucumber -t @slow'
end
desc 'Execute medium scenarios'
task :medium_scenarios do
puts 'Running medium scenarios'
sh 'cucumber -t @medium'
end
desc 'Execute register feature with fast scenarios'
task :medium_scenarios do
puts 'Running medium scenarios'
sh 'cucumber -t ~@pull_request -t ~@search'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment