private FeatureAndBackground GetCucumberFeature(ObjectModel.Feature feature)
        {
            var cucumberFeature = this.resultsDocument.FirstOrDefault(f => f.name == feature.Name);
            var background      = cucumberFeature?.elements.FirstOrDefault(e => e.type == "background");

            return(new FeatureAndBackground(cucumberFeature, background));
        }
        public override TestResult GetFeatureResult(ObjectModel.Feature feature)
        {
            var cucumberFeature = this.GetCucumberFeature(feature);

            return(this.GetResultFromFeature(cucumberFeature.Feature, cucumberFeature.Background));
        }