Chandra Sekhar Chandra Sekhar - 1 year ago 135
Java Question

How to get Reports properly by using JBehave?

I am using JBehave to run Scenarios, i have taken an example from WebSite , it is executing properly and generating reports in trarget/jbehave folder.
but the result is showing every time as zero.
(i have taken same example he given in the website)

i need to configure any other?

Answer Source

At the end, I found that I am missing one of the format type STATS in the code We can use different Format's like HTML, XML, CONSOLE, IDE_CONSOLE etc.. STATS must be needed to get the Statistics for the Reports.

StoryReporterBuilder().withFormats( Format.CONSOLE, Format.STATS, Format.HTML )

that will generate Statistics for the Reports.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download