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?

Answers


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.


Need Your Help

How to get ScriptResource.axd? calls in HTTPS

asp.net asp.net-ajax https

My website is HTTPS and I use a redirect module to change any requests for a HTTP page into an HTTPS page. This works nicely using this...

Select and 'go to selection' in Sublime

sublimetext2 shortcut

I work with files containing names to other files: stacktraces, documentation, etc.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.