OK, well I'm pretty convinced, but having trouble explaining it.
@Context is a step that must be played first in a scenario, applies to
all steps in that scenario.
I think its very different to a given :)
- Paul
On Mar 6, 2009, at 10:59 PM, Mauro Talevi wrote:
Paul Hammant <p...@...> writes:
No, Context (as I suggested) was executable in a steps class.
<at> Context(" once for each browser/os")
super.getContext().replaceScenarioExecutor(execr);
}
<at> Context(" once for each browser/os in parallel")
public void eachBrowserInParallel() {
eachBrowser();
execr.setParallelExecution(true);
}
It seems to me that a Given step can be equally used for this purpose.
Unless a Constraint/Context step has other properties, it would seem
redundant
wrt to the Given/When/Then paradigm.
Cheers
---------------------------------------------------------------------
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