If you want to run the same story but passing in a different parameter
for each run, one option to create a new uber-story that executes the
stories as given stories.
http://jbehave.org/reference/stable/given-stories.html
Something along these lines:
Scenario: A scenario that verifies the same functionality for
different protocols
GivenStories: path/to/your.story#{0},
path/to/your.story#{1}
Then ... // verify success or print message
Examples:
|Protocol|
|http|
|jms|
On Thu Jan 5 18:10:10 2012, Sheldon wrote:
Actually, I think the 'Parametrized Stories' feature would work. This
way I would not have to duplicate stories just because we support a
new protocol. The documentation on it is unclear on how to leverage
the parameter that is passed in to the story. Does someone know where
I can find a working example of this feature?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email