cucumber/cucumber-js — pull request #240 by simondean (2014-08-30 17:17:56+00:00)
Title: Scenario outline fixes

This pull request fixes the following issues:
* #177 Empty Scenario Outline still calls Before and After hooks
* #180 Execution order of scenarios and scenario outlines in a feature
* #185 Before/After hooks on Scenario Outline called incorrectly
* #217 Scenario Outlines with multiple Examples sections only executing the very last Examples
* #224 Issue with tables in feature in version 0.4.2

@jbpros this pull request changes the behaviour of Scenario Outlines. Scenario outlines are no longer present in the AST once the parsing has finished. I.e. the scenario outlines are removed from the AST features when they are converted into scenarios. The other way to have solved, these issues would have been something like changing the AstTreeWalker to not visit scenario outlines. Which way to fix it do you think is best? It would be good to know whether the Ruby and JVM ports of cucumber include the scenario outlines in the AST. One thing that makes me wonder is that cucumber-jvm already includes the backgrounds in the AST.

Because the scenario outlines are no longer in the AST, you no longer see them reported by the formatters/listenders.