It seems I cannot use the @LINE macro inside another macro and get the line number of my call site, so we cannot currently report line numbers for the definitions.
The findstepdefinition method returns a function today. It needs to return the entire StepDefinition because we need the location in the case when there are matches in several matchers.
Two issues:
It seems I cannot use the @LINE macro inside another macro and get the line number of my call site, so we cannot currently report line numbers for the definitions.
The
findstepdefinition
method returns a function today. It needs to return the entireStepDefinition
because we need the location in the case when there are matches in several matchers.