Mary,

I don't believe that that is doable - the status of the step is the
same regardless of scenario/story.
You might look into meta tags - perhaps you could tag the scenario in
question and use that to either

1) not run the scenario
2) access the meta tag as a @Named parameter in the step method and not
execute it

[1]http://jbehave.org/reference/stable/meta-info.html

Brian

----- Original message -----
From: mary walshe <[2][email protected]>
To: [3][email protected]
Subject: [jbehave-user] Pending steps
Date: Fri, 10 Aug 2012 12:28:23 +0100

Hi,

I would like to make one of my steps pending in one story.
I know using @Pending annotation will mark it pending for all instances
of the step.

I reuse this step in multiple stories but I would only like to have it
pending of one particular story is this possible?

Thanks

References

1. http://jbehave.org/reference/stable/meta-info.html
2. mailto:[email protected]
3. mailto:[email protected]

Reply via email to