Hi,

you can filter the scenarios that you want to run via the @Meta properties.

http://jbehave.org/reference/stable/meta-filtering.html

The stories found by default are run in alphabetical order.  You can
override the sorting comparator to have them a different order:

        StoryFinder myStoryFinder = new StoryFinder(){
            protected Comparator<? super String> sortingComparator() {
                return ... // your comparator
            }           
        };

Cheers

On 09/05/2011 19:43, Edgardo Hames wrote:
> Hi,
>
> I would like to create a smoke test suite with some scenarios (not
> all) from different stories in a particular order. How do I achieve
> that with JBehave?
>
> Thanks,
> Edgardo


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to