NAME
Test::BDD::Cucumber::StepMatcher - Run through Feature and Harness objects
VERSION
version 0.59
DESCRIPTION
steps
add_steps
The attributes steps
is a hashref of arrayrefs, storing steps by their Verb. add_steps()
takes step definitions of the item list form:
(
[ Given => qr//, sub {} ],
),
and populates steps
with them.
find_and_dispatch
Accepts a Test::BDD::Cucumber::StepContext object, and searches through the steps that have been added to the executor object, executing against the first matching one.
You can also pass in a boolean 'short-circuit' flag if the Scenario's remaining steps should be skipped, and a boolean flag to denote if it's a redispatched step.