Given a stock threshold of 10.0
When stock threshold is set to 10.0
Then threshold result should be 10.0
In above steps, instead of the constant value 10.0, I'd like to use a predefined variable. Like,
Given a stock threshold of <thresholdValue>
When stock threshold is set to <thresholdValue>
Then threshold result should be <thresholdValue>
This predefined variable can be a global variable for all stories. And the value can be initialized in step classes, or story file itself. Can this kind of implementation can be done in JBehave.