Ignore full-stop/period|punctation at end of step

Description

I experienced some trouble especially with @Then steps ending with punctation characters:


will require a step definition like


Mind that you must not forget the period at the end of the step definition... otherwise message will be Hello World. rathen than Hello World.

This is a quite common mistake and in addition it prevents the step definition to be reusable here:

where it is required to have an Alias just because of the period. Or, as alternative, the assertions inside need to deal with the period at the end.

It would be nice if JBehave could ignore this period although it is not quite clear to me how to handle scenarios where the period needs to be parsed. And of course such a change might break existing tests.

Assignee

Mauro Talevi

Reporter

Mark Michaelis

Labels

None

Components

Fix versions

Priority

Minor
Configure