コード例 #1
0
        internal StepBuilder(List <Step> previousSteps, Expression <Action> action, TestDetails testDetails)
        {
            TestDetails  = testDetails;
            StoryText    = testDetails.StoryText;
            ScenarioText = testDetails.ScenarioText;

            TestMap.NotRun[testDetails.GetGuid()] = this;

            ExistingSteps = previousSteps;
            ExistingSteps.Add(new Step(action, StepType));
        }
コード例 #2
0
        internal StepBuilder(List <Step> previousSteps, Runnable runnable, TestDetails testDetails)
        {
            TestDetails  = testDetails;
            StoryText    = testDetails.StoryText;
            ScenarioText = testDetails.ScenarioText;

            TestMap.NotRun[testDetails.GetGuid()] = this;

            ExistingSteps = previousSteps;
            ExistingSteps.Add(new Step(runnable, StepType));
        }