[rspec-users] Cucumber: Running a single feature / scenario

Matt Wynne matt at mattwynne.net
Mon Sep 1 18:58:37 EDT 2008


On 1 Sep 2008, at 21:30, aslak hellesoy wrote:
> cucumber --help
>
> Example:
>
> cucumber path/to/file.feature --line 33
>
> Or with Rake:
>
> rake features FEATURE=path/to/file.feature CUCUMBER_OPTS="--line 33"
>
> It's not documented on the Wiki yet. Pass the line number of one of
> the steps. I think it's broken when GivenScenario is involved.
>
> Aslak

Thanks Aslak. i've added a bit more detail to the github wiki to  
explain the line number thing.


More information about the rspec-users mailing list