コード例 #1
0
        public void ThenCanReadBackgroundResultSuccessfully()
        {
            var background = new Scenario {
                Name = "Background", Feature = _feature
            };

            _feature.AddBackground(background);

            TestResult result = _results.GetScenarioResult(background);

            result.WasExecuted.ShouldBeFalse();
            result.WasSuccessful.ShouldBeFalse();
        }