private TestResult GetResultFromFeature(Feature cucumberFeature)
        {
            if (cucumberFeature == null || cucumberFeature.elements == null) return TestResult.Inconclusive;

              bool wasSuccessful = cucumberFeature.elements.All(CheckScenarioStatus);

              return wasSuccessful ? TestResult.Passed : TestResult.Failed;
        }
Exemplo n.º 2
0
        private TestResult GetResultFromFeature(Feature cucumberFeature)
        {
            if (cucumberFeature == null || cucumberFeature.elements == null)
            {
                return(TestResult.Inconclusive);
            }

            bool wasSuccessful = cucumberFeature.elements.All(CheckScenarioStatus);

            return(wasSuccessful ? TestResult.Passed : TestResult.Failed);
        }