[rspec-users] Running Cucumber with a Rails Rake task

Ben Emson lists at ruby-forum.com
Sun Oct 19 09:36:08 EDT 2008


Zach Dennis wrote:
> To run all features you can run:
> 
>   rake features
> 
> To run specific features you can do something like:
> 
>   script/cucumber --require features/steps features/path/to/my.feature
> 
> If you want to run a particular scenario find out the line number of
> the first Given and run:
> 
>   script/cucumber --line 41 --require features/steps 
> features/path/to/my.feature
> 
> Zach
> 
> 
> On Sat, Oct 18, 2008 at 4:33 PM, Ben Emson <lists at ruby-forum.com> wrote:
>> demo Rake file works, but I'm not sure I've set it up correctly in my
>>
>> desc "run stories"
>>
>> file so that it will run all my stories?
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
> 
> 
> 
> --
> Zach Dennis
> http://www.continuousthinking.com
> http://www.mutuallyhuman.com


Thanks Aslak and Zach

I must apologise in my excitement I completely missed the Rails wiki 
section.
Thats just what I was looking for.  Thanks and keep up the good work.

BE...

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list