Hi Cristiano,

If I understand correctly, you want to run the methods annotated by
@Before/AfterStory depending on whether the story is an embedded one or
not, i.e.

@BeforeStory(uponEmbedded=true)
public void beforeEmbeddedStory(){
// ...
}

@BeforeStory(uponEmbedded=false)
public void beforeNotEmbeddedStory(){
// ...
}

and similarly for @AfterStory.

That is straightforward to do.   Please confirm that this behaviour
would satisfy your usecase.

On 22/02/2010 04:03, Cristiano Gavião wrote:
> Hi...
> 
> Using  public void afterStory(boolean pEmbeddedStory) method on some
> ScenarioReporterDecorator I can know whether a story is an embedded one.
> 
> Is there a way to obtain this information using @AfterStory ?
> 
> thanks
> 
> Cristiano
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to