erikedin / Behavior.jl

Tool for Behavior Driven Development in Julia
Other
25 stars 3 forks source link

Handle multiple step definition matches for a single FromMacro matcher #21

Closed erikedin closed 6 years ago

erikedin commented 6 years ago

Two issues:

  1. 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.

  2. 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.