Hi Alister,
Even though Cucumber states that feature tags are inherited by each
scenario in that feature, we've discovered that in SpecFlow "feature"
and "scenario" are two different contexts, thus (in version 1.9 at
least) there are
- the ScenarioContext class, hence
ScenarioContext.Current.ScenarioInfo.Tags
- the FeatureContext class, hence
FeatureContext.Current.FeatureInfo.Tags
Whenever I need to look up a tag, I do so in both contexts.
Haven't checked if this is a bug or an implementation detail of
SpecFlow.
Hope this helps,
Borislav