Hi,

you need to configure your reporter instance using the StoryReporterBuilder in 
the Configuration (, not in the steps @BeforeStories methods.   Here’s an 
example:

https://github.com/jbehave/jbehave-core/blob/master/examples/core/src/main/java/org/jbehave/examples/core/CoreStories.java
 
<https://github.com/jbehave/jbehave-core/blob/master/examples/core/src/main/java/org/jbehave/examples/core/CoreStories.java>

> On 6 Aug 2016, at 12:59, [email protected] wrote:
> 
> 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 executed before @BeforeStories annotaion.
> 
> Could you help me on this?
> 
> -- 
> 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 [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/jbehave-user/0d3a3323-dae9-43cf-845c-955826f09e26%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jbehave-user/0d3a3323-dae9-43cf-845c-955826f09e26%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 [email protected].
To post to this group, send an email to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/jbehave-user/FB7E83A8-4704-41C3-935F-204DEE4DD2F2%40aquilonia.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to