[rspec-users] Running a specific row in cucumber example table

Sam Treweek lists at ruby-forum.com
Fri Oct 2 12:16:27 EDT 2009


I want to be able to execute only 1 row in an Scenario/Outline Example
table. Is there a method already created for me to access. I have
certain validation rules for only running 1 row of data coming from an
external request to execute cuke.

So having something in a step_definition file like:

test.rb

If $something
   table.row.skip
end

Before do
  pending
end

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


More information about the rspec-users mailing list