How can I use this when implementing subclasses of JunitStory? Thanks.
From: Mauro Talevi [mailto:[email protected]] Sent: Thursday, June 06, 2013 2:34 AM To: [email protected] Subject: Re: [jbehave-user] failures in junit You can use an AnnotatedPathRunner: https://github.com/jbehave/jbehave-core/blob/master/examples/annotations/src/main/java/org/jbehave/examples/core/annotations/CoreAnnotatedPathRunner.java This will show you a result for each story path. On 05/06/2013 20:55, Luigi Suardi wrote: Hi, I have a very basic setup with one story file, 3-4 scenarios and multiple stories. I run Junit in Eclipse. When there are failures during story execution Junit always reports only 1 error, even when multiple stories fail. How should I configure jbehave so that junit returns proper count of errors and failures? I have searched the archive but have not found an answer. Thank you! Luigi PROS Inc.
