Thanks Alex. After changing the RunWith to point to JUnitReportingRunner and making a minor change to load the spring steps context in a different way it worked perfectly in eclipse. A pity it does not work with intelij as well.
Just wondering why jBehave does not support such am IDE reporting plugin natively? These small things can weigh a lot when it comes to the decision of whether to go jBehave way or another. My team uses intelij and it was not an easy job for me to make them switch from cucumber jvm to jBehave :) Regards, Julian --- On Sat, 22/12/12, Alexander Lehmann <[email protected]> wrote: From: Alexander Lehmann <[email protected]> Subject: [jbehave-user] Re: intelij and eclipse jBehave plugins To: [email protected] Received: Saturday, 22 December, 2012, 8:56 AM jbehave doesn't support reporting details to the junit view in the ide, there is however an additional project that adds a details view https://github.com/codecentric/jbehave-junit-runner , maybe you can try that (I think this will not work when you already have a @RunWith annotation) On 21.12.2012 03:59, Iulian Greculescu wrote: > You mean each step in the story I run is shown as it was a separate unit > test? > > This is how I run the story > > @RunWith(SpringJUnit4ClassRunner.class) > @ContextConfiguration(locations = "/spring/harness-context.xml") > public class PerformanceRun extends AbstractStory { > } > > where AbstractStory > public abstract class AbstractStory extends JUnitStory implements > ApplicationContextAware {...} > > --- On *Fri, 21/12/12, Pascal Rapicault > /<[email protected]>/* wrote: > > > From: Pascal Rapicault > <[email protected]> > Subject: RE: [jbehave-user] intelij and eclipse jBehave plugins > To: "[email protected]" > <[email protected]> > Received: Friday, 21 December, 2012, 1:52 PM > > This is working as expected. > > *From:*Iulian Greculescu > [mailto:[email protected]] > *Sent:* December-20-12 8:48 PM > *To:* [email protected] > *Subject:* [jbehave-user] intelij and eclipse jBehave plugins > > I just installed the jBehave plugins for both eclipse and intelij > and jumping from story file to the step definitions is great. > > However when I am running the story as a jUnit test (by extending > JUnitStory) I expected to see some nice look and feel in the jUnit > view showing all steps that were part of my story as separate entries. > > That would be similar with displaying a separate unit test when you > run a normal jUnit class. > > All I see is just the name of my class and a run telling me how long > it took. To see what was run and and where it passed or failed I > have to go and look into the console output. > > Am I missing something? > > Thanks in advance and sorry if that was answered already. Google > could not help me at all. > > Julian > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
