public run_command_integration_specs() { var directory = TestingContext.FindParallelDirectory("Storyteller.Samples"); var project = Project.LoadForFolder(directory); #if NET46 theController = new RemoteController(project, new AppDomainSystemLauncher(project)); #else throw new NotImplementedException("Not done yet for CoreCLR"); #endif theInput = new RunInput { Path = directory, RetriesFlag = 1 }; theController = theInput.BuildRemoteController(); var task = theController.Start(); task.Wait(3.Seconds()); theFixtures = task.Result.fixtures; }
public run_command_integration_specs() { TestUtility.CleanUpHangingProcesses(); var directory = TestingContext.FindParallelDirectory("Storyteller.Samples"); var project = Project.LoadForFolder(directory); #if NET46 theController = new EngineController(project, new AppDomainSystemLauncher(project)); #else theController = new EngineController(project, new ProcessRunnerSystemLauncher(project)); #endif theInput = new RunInput { Path = directory, RetriesFlag = 1 }; theController = theInput.BuildEngine(); var task = theController.Start(); task.Wait(3.Seconds()); theFixtures = task.Result.fixtures; }