Cucumberex.StepDefinition.Matcher (cucumberex v0.2.1)

Copy Markdown View Source

Match a step text against registered step definitions.

Summary

Types

match_result()

@type match_result() ::
  {:ok, Cucumberex.StepDefinition.t(), list()}
  | {:undefined, list()}
  | {:ambiguous, [Cucumberex.StepDefinition.t()]}

Functions

match(step_text, registry \\ Registry, pt_registry \\ Cucumberex.ParameterType.Registry)