Before/after scenario steps and lifecycle steps are executed in wrong order

Description

When story contains Lifecycle Before/After steps, these are executed outside the BeforeScenario/AfterScenario scope for scenarios parametrised by example.

When the was implemented, runLifecycleSteps is called before runBeforeOrAfterScenarioSteps (and in the reverse order at the end).

Attached is patch with fix and test (patch is based on commit 95dcd85)

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created April 3, 2014 at 8:02 PM
Updated April 3, 2014 at 9:49 PM
Resolved April 3, 2014 at 9:28 PM