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