[ 
https://jira.codehaus.org/browse/JBEHAVE-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284178#comment-284178
 ] 

Mauro Talevi commented on JBEHAVE-645:
--------------------------------------

Maybe you're getting confused with some other @And annotation - it's never been 
part of JBehave :-)

As for the keyword interchange, that is not possible.  You can define only one 
And-type keyword, which you can decide to rename to "With".

The keywords you can use at the beginning of steps are:  Given, When, Then, And 
(and !-- to comment) 

It's then up to you to structure your language within this rather lightweight 
constraint.

 

> Support @With annotation
> ------------------------
>
>                 Key: JBEHAVE-645
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-645
>             Project: JBehave
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 3.5.3
>            Reporter: Simon Wiehe
>            Priority: Minor
>
> Is it possible to support a With tag in scenarios.
> e.g. instead of using the following
> Given a new trade
> and trade price of $15
> the following would read better
> Given a new trade
> With trade price of $15

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to