开发者

How to get Reports properly by using JBehave?

开发者 https://www.devze.com 2023-03-15 02:06 出处:网络
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.

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

精彩评论

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

关注公众号