Actually its working like below

(BeforeStories)
======In CustomStoryReporter beforeStory=========
======In Jbehave @BeforeStories=========
======In CustomStoryReporter aftertory=========

Running story Login_Story.story
Login story
(Login_Story.story)
======In CustomStoryReporter beforeStory=========
======In CustomStoryReporter aftertory=========

(AfterStories)
======In CustomStoryReporter beforeStory=========
======In Jbehave @AfterStories=========
======In CustomStoryReporter aftertory=========

This is the way it should work?

On Sunday, August 7, 2016 at 6:10:11 PM UTC-12, jms2...@gmail.com wrote:
>
> Sorry I am not getting what you are saying. I thought that beforeStory 
> method in the cistomreporter class should execute after @ BeforeStories 
> annotation. But it is executed before the @BeforeStories annotation. Please 
> clarify me what's the exact behaviour or life cycle of beforeStory
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"JBehave User" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbehave-user+unsubscr...@googlegroups.com.
To post to this group, send an email to jbehave-user@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/jbehave-user/491b5ed9-10dd-4aff-bcc7-640bb0755542%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to