Created
October 30, 2012 15:52
-
-
Save robertodecurnex/3981098 to your computer and use it in GitHub Desktop.
An example of how to run cucumber multiple times (same goes for rspec)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rake' | |
require 'cucumber/rake/task' | |
Cucumber::Rake::Task.new | |
Rake.application['cucumber'].invoke | |
#=> The tests run here | |
Rake.application['cucumber'].reenable | |
Rake.application['cucumber'].invoke | |
#=> They run again here | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment