Please provide a simple example project reproducing your behaviour and we'll have a look.

On 10/10/2012 09:47, अजय सिंह wrote:
Hi,
In order to skip 2nd scenraio marked with @skip as below

Meta:
@storyName test.story


Scenario: reprocess package from AMC
Meta:
@index 1
Given Step1.1
Then Step1.2


*Scenario: reprocess package from AMC1*
Meta:
@skip
@index 2
Given Step2.1
Then Step2.2


And i updated pom (maven goal ) as below
 <metaFilters>
<metaFilter>-skip</metaFilter>
 </metaFilters>


But I am still able to see scenario 2 running .

Can you please explain?

Regards
Ajay

On 10 October 2012 13:01, Mauro Talevi <mauro.tal...@aquilonia.org <mailto:mauro.tal...@aquilonia.org>> wrote:


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

    To skip the second scenario, marked by @skip, use meta filter "-skip"

    For example via Maven:
    http://jbehave.org/reference/stable/maven-goals.html


    On 10/10/2012 08:34, अजय सिंह wrote:

        Hi,

        Can anyone explain me how to skip a scenario? I want to skip
        the first scenario The documentation is not clear about this.
        I am writing my story as follows:

        Narrative:
        In order to execute Closed Loop Publication Story
        As a Automation development team
        I want to develop story for Closed Loop Publication scenarios

        Meta:
        @storyName test.story


        Scenario: reprocess package from AMC
        Meta:
        @index 1
        Given Step1.1
        Then Step1.2


        Scenario: reprocess package from AMC1
        Meta:
        @skip
        @index 2
        Given Step2.1
        Then Step2.2


        Regards
        Ajay



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

    http://xircles.codehaus.org/manage_email




Reply via email to