cucumber/cucumber-jvm — pull request #627 by sirchia (2013-11-09 17:24:16+00:00)
Title: Added support to define skipTags to explicitly skip the execution of scenarios

This marks them and their steps as skipped instead of just not executing them which would be the case if ~@tag was used.

The rationale behind this is to provide a similar functionality as the @Ignore annotation on normal JUnit tests. These tests will not fail the build, but will be clearly visible in the JUnit reports.

This might be useful for example when a Scenario or even just some example sets of a Scenario Outline are to be temporarily skipped while waiting for a known bug to be solved or when tests for a future sprint are already being defined while engineers are still busy finishing the implementation of the current stories.

Note that this change requires the merge of [this pull request](https://github.com/cucumber/gherkin/pull/286) to address an issue in the Gherkin Java parser where tags on example tables could go lost. Without that merge, tags made on the first n of n+1 example tables in one scenario outline would not be matched as they would be wiped from the internal model before the skip criteria would be checked.