Oks perfect many thanks.

On 14 July 2011 12:16, Mauro Talevi <[email protected]> wrote:

> **
> No, composition of stories is not really recommended, as stories are the
> end product.
>
> You should focus instead on composition of steps
>
> http://jbehave.org/reference/stable/composite-steps.html
>
> or scenario parametrisation
>
> http://jbehave.org/reference/stable/parametrised-scenarios.html
>
> Both of these allow reuse of story logic - albeit only the part that you're
> interested in.
>
> On 14/07/2011 12:59, Marc Andreu Fernandez wrote:
>
> Hi Mauro,
>
> Many thanks for your quick answer.
>
> Our only concern now is how do we reuse stories in other stories? As
> precondition is one solution but some times it could be good to compose
> stories that include other stories as a step of the main story.
>
> Is it any way of doing something like that?
>
> Many thanks, kind regards.
> Marc Andreu
>
> On 14 July 2011 11:37, Mauro Talevi <[email protected]> wrote:
>
>> No, you can't do that.  What you can do is define a story as a
>> precondition to a scenario:
>>
>> http://jbehave.org/reference/stable/given-stories.html
>>
>> On 14/07/2011 12:35, Marc Andreu Fernandez wrote:
>> > Hello team, good morning.
>> >
>> > I have a quick question, please.
>> >
>> > Is it possible to run a story (from a text file .story) into a
>> > implemented step.
>> >
>> > For example:
>> > Given some setup process
>> > When Run story 'sotryNameAsParameter'
>> > Then do some post process and checkings
>> >
>> > Is it any better way of implementing this example.
>> >
>> > Many thanks, I hope the question make sense.
>> > Marc Andreu
>>
>>
>>  ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
> --
> -------------------------------------
>  Marc Andreu Fernàndez.
> -------------------------------------
>
>
>


-- 
-------------------------------------
 Marc Andreu Fernàndez.
-------------------------------------

Reply via email to