[rspec-users] Using cucumber profiles with rake task
Francisco Trindade
lists at ruby-forum.com
Tue Feb 10 11:54:38 EST 2009
Thanks, now it makes sense.
Regards,
Francisco
Zach Dennis wrote:
> On Tue, Feb 10, 2009 at 10:27 AM, Francisco Trindade
> <lists at ruby-forum.com> wrote:
>> task. I followed the advice given on this thread
>>
>> elements from the cucumber profile.
>>
>> Am I missing something?
>>
>
> The Cucumber rake task doesn't support profiles very well. There is a
> ticket for this:
>
> http://rspec.lighthouseapp.com/projects/16211/tickets/187-rake-task-support-cucumberyml-profiles
>
> 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 = []
> end
>
>
> --
> Zach Dennis
> http://www.continuousthinking.com
> http://www.mutuallyhuman.com
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list