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


Reply via email to