Why are you using a scenario outline then? Just use a table in your Then step:
Then all these things should be true:
| this |
| that |
| the other |
> Jon
>
> --
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
>
cheers,
Matt
On Wed, Nov 3, 2010 at 7:40 PM, Matt Wynne <ma...@mattwynne.net> wrote:
Why are you using a scenario outline then? Just use a table in your Then step:
On 3 Nov 2010, at 19:59, Jon Kruger wrote:
> If I have a Background section and a Scenario Outline, the Background
> runs once before each example in the scenario outline. Is there a
> hook that before the Scenario Outline, but not before each example? I
> have a Scenario Outline for a search screen that has lots of examples,
> but since the tests don't modify the data, there's no reason for me to
> recreate it for each example.
>
Then all these things should be true:
| this |
| that |
| the other |
Because the "When" can vary per example.