You can use meta filters to include or exclude scenarios:

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

On 01/12/2010 21:19, Betina Perez wrote:
> Hi all,
>
> I'd like to know if it is possible to run only a single scenario from
> a Story. Let's say I have the following
>
> Story1
>   Scenario: scenario1
>   Given something
>   When something happens
>   Then something is changed
>
>   Scenario: scenario2
>   Given something
>   When something happens
>   Then something is changed
>
>   Scenario: scenario3
>   Given something
>   When something happens
>   Then something is changed
>
>
> But I decided to run as a regression testing only Scenario3... is that
> possible?  I mean, without commenting the other 2 :)
>
> thanks
> Betina
>
>
>   

Reply via email to