Mauro Talevi commented on Improvement JBEHAVE-883

I've pushed a start of this new feature. The synonyms are actually supported for all step-starting keywords, as it looks like it should be just as simple. To configure the synonyms, just append them to the i18n keywords, using the '|' as separator, e.g.:

Given=Given|Giveth
When=When
Then=Then
And=And|With

Note that the default value of keywords does not have any synonyms (it may do later on), so for now you need to define your own i18n keywords, as if defining a new locale:

http://jbehave.org/reference/latest/stories-in-your-language.html

In the unit tests, you'll find the keywords_sy.properties defined for this scope.

I've pushed the latest snapshot to Nexus, please have a go and provide any feedback.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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