Hi
thanks for the sample project.The issue you are seeing is a consequence of
the fact that there are two special “stories” called (BeforeStories and
AfterStories - used to report issues in the execution of the @BeforeStories and
@AfterStories annotated steps).If you disregard
Yes, the beforeStory() event will be invoked for each story and after the
@BeforeStories annotated method.
But if you don’t share your project which reproduces your behaviour you can’t
be helped.
Please ensure that it is a self-contained (and as simple as possible) Maven
project.
> On
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
BeforeStories events are reported in a separate file from the other
story-specific reports.
But why are you getting the NPE?
> On 7 Aug 2016, at 14:22, jms2m...@gmail.com wrote:
>
> Yes I did in the configuration part only.I created the custom reporter and
> added ib the cobfiguration
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