[rspec-users] Using cucumber profiles with rake task
fkchang2000 at yahoo.com
Fri Feb 20 16:41:27 EST 2009
----- Original Message ----
> Message: 4
> Date: Tue, 10 Feb 2009 10:43:35 -0500
> From: Zach Dennis
> The Cucumber rake task doesn't support profiles very well. There is a
> ticket for this:
> On the ticket Ben Mabey provided his current solution, which is to
> clear out the feature list:
> Cucumber::Rake::Task.new(:selenium) do |t|
> ENV['WEBRAT'] = 'selenium'
> t.cucumber_opts = "--profile selenium"
> t.feature_list = 
I just did this sort of thing, you also need to set t.step_list = , else the rake task will expand all steps in the features directories as well.
More information about the rspec-users