cucumber/cucumber — pull request #319 by delta407 (2012-09-22 22:23:30+00:00)
Title: Add a feature describing how I think hooks should work

This feature was requested by cucumber/issues/52. It fails against cucumber/master right now, but it clearly demonstrates the issue:

Scenario: Around hooks cover background steps
...
-Event order: around_begin background_step scenario_step around_end
+Event order: background_step around_begin scenario_step around_end

Scenario: All hooks execute in expected order
...
-Event order: around_begin background_step before scenario_step after around_end
+Event order: before background_step around_begin scenario_step after around_end