Paul Hammant <p...@...> writes:

> 
> 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 :)
> 
> 

Understood, but you could implement a Context step with a Given, provided you
take care to have it as the first step of the scenario. 

That said, there is a case for making this use case more explicit.  

It strikes me as a very similar concept to the @BeforeScenario that we already
have.  Perhaps, we could re-use the @BeforeScenario annotation and introduce a
BeforeScenario keyword (which you can alias to Context or Constraint or whatever
the user may prefer) to allow it to be used in the text scenario.

Cheers 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to