Mauro, Have you looked at this perhaps : http://code.google.com/p/jbehave-junit-monitor/
seems to be what i was talking about, a lil cumbersome would have to dig in to code... On Sat, Mar 24, 2012 at 3:22 AM, Mauro Talevi <[email protected]>wrote: > No, it's not supported at present. > > You can use the AnnotatedPathRunner to run each story as a separate JUnit > test. > > > On 23/03/2012 22:49, Bhuvnesh Pratap wrote: > > Probably I framed my question wrong, what i mean is that i would want to > run the complete story as a whole from JUnit but individual scenarios to be > attached to JUnit-Eclipse console where each scenario runs as as subset > test of the story test (that fancy green bar for all scenarios under the > story !) > > Is there a plausible way to do this ? > > On Sat, Mar 24, 2012 at 2:53 AM, Mauro Talevi > <[email protected]>wrote: > >> Hi, >> >> in general, scenarios cannot be run individually, either via command-line >> or via JUnit. >> >> What you can do is use meta-filters to include/exclude scenarios in the >> execution. >> >> http://jbehave.org/reference/stable/meta-filtering.html >> >> >> >> On 23/03/2012 19:37, Bhuvnesh Pratap wrote: >> >>> Hi All, >>> >>> >>> I believe it would be a desire of many to run individual scenarios as >>> separate JUnit Tests ! As of now >>> while running a story as by overriding run() with @Test JUnit the whole >>> story runs as a single JUnit >>> test in Eclipse. >>> >>> I am looking for a way to run each scenario as individual test under one >>> bigger test which would be the >>> story itself . Yes on console one could always monitor the status of >>> each and every scenario under the >>> story but perhaps attaching the scenarios with JUnit would make more >>> intuitive. Could any of you help >>> me with what to do in a lil. detailed manner :) >>> >>> >>> As of now I am running bunch of stories by extending JUnitStories. >>> Any help here is highly appreciated ! >>> >>> Thanks, >>> Bhuvnesh Pratap >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > >
