开发者

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开发者_如何学Python?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜