Re: beforeStory method from StoryReporter executed before @BeforeStories

2016-08-08 Thread jms2mail
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 method from StoryReporter executed before @BeforeStories

2016-08-06 Thread jms2mail
Hi I am trying integrate extent report by implementing "StoryReporter" interface In my class I have @BeforeStories there I am initializing the extent report In the beforeStory() method I am trying to start the test, but it throws null pinter exception. The problem is beforeStory() method