Nice workaround Mauro,

Thx.

2011/9/30 Mauro Talevi <[email protected]>

>  Hi Robinson,
>
> no, that's not possible because the table is parsed line by line.   If we
> parsed it by regex (like the stories) we would not be able to tell when a
> new row started (without introducing additional markup).
>
> What I'd suggest is that you put your multiline input into a file and
> insert the path to that file in the table cell.
>
> Cheers
>
>
> On 30/09/2011 18:31, Robison Santos wrote:
>
> Hi, I'm wondering if there's any way to use a multi-line example table in
> my story definitions. Something like:
>
>  Given I have something already setup
> When I enter the data <data_input>
> Then I should receive the text <text_output>
>
>  Example:
> |data_input|test_output|
> | data1 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
> do eiusmod
>                   tempor incididunt ut labore et dolore magna aliqua. Ut
> enim ad minim
>                    veniam, quis nostrud exercitation ullamco laboris nisi
> ut
>                   aliquip ex ea commodo consequat." |
> | data2 | "Another text" |
>
>
>  Is this possible any way?
>
>  Thanks,
>
>  --
> Robison W R Santos
>
>
>

Reply via email to