internal async Task <Scenario> Invoke(BuildableTest testDetails) { var scenario = new Scenario(ExistingSteps, testDetails); await BDTestServiceProvider.ScenarioExecutor.ExecuteAsync(scenario).ConfigureAwait(false); return(scenario); }
internal Scenario(List <Step> steps, BuildableTest testDetails) { Guid = testDetails.Guid; FrameworkTestId = testDetails.TestId; RuntimeInformation = new BDTestRuntimeInformation { CallerFile = testDetails.CallerFile, CallerMember = testDetails.CallerMember, BdTestBase = testDetails.BdTestBase }; TestHolder.NotRun.TryRemove(Guid, out _); TestHolder.AddScenario(this); StoryText = testDetails.StoryText; ScenarioText = testDetails.ScenarioText; CustomTestInformation = testDetails.CustomTestInformation; FileName = testDetails.CallerFile; Steps = steps; }
internal RunnableStepBuilder(List <Step> previousSteps, Runnable runnable, BuildableTest previousPartiallyBuiltTest) : base( previousSteps, runnable, previousPartiallyBuiltTest) { }