Support synonyms of step-starting keywords

Description

It is generally acceptable that you can describe a business case just using Given/When/Then/And suite.

However when the scenario you need to write is a long one (say 30 or more steps) I have to accept that the story starts sounding a bit to fade (say made up). It works but you would prefer it to sound more natural.

I think this could be supported if we improve jBehave to allow defining "And" synonyms with exactly the same functionality as the actual "And"?

So you can say something like this:

Given our Payments system supports SWIFT messages
When a FX transaction message arrives
And the "from" currency is USD
And the "to" currency is GBP
And the exchange rate is 0.71002
And the transaction date is the next business day
And the transaction amount is $200.00
And the payer account no is 1234567890
....
And +30 others "when" steps describing the Foreigner Exchange message
Then.....

Someone would say (me included) that if I can say "With' and "Having" are synonyms of "And" and rewrite the story like below then it would sound more natural.

Given our Payments system supports SWIFT messages
When a FX transaction message arrives
Having the "from" currency as USD
And the "to" currency as GBP
With an exchange rate of 0.71002
......

Assignee

Mauro Talevi

Reporter

Julian Greculescu

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure