private Task <SystemRecycled> start(string projectName) { _project = new Project { ProjectPath = TestingContext.FindParallelDirectory(projectName) }; _controller = new RemoteController(_project, new ProcessRunnerSystemLauncher(_project)); return(_controller.Start()); }
public void SetUp() { var directory = ".".ToFullPath().ParentDirectory().ParentDirectory().ParentDirectory() .AppendPath("Storyteller.Samples"); theController = new RemoteController(directory); theInput = new RunInput {Path = directory,RetriesFlag = 1}; theController = theInput.BuildRemoteController(); var task = theController.Start(EngineMode.Batch); task.Wait(3.Seconds()); theFixtures = task.Result.fixtures; }
public async Task can_successfully_start_up_and_get_to_system_recycled() { var project = new Project { ProjectPath = TestingContext.FindParallelDirectory("Storyteller.Gallery") }; var system = new NulloSystem(); var controller = new RemoteController(project, new LocalLauncher(project, system)); var recycled = await controller.Start(); recycled.ShouldNotBeNull(); controller.Teardown(); }
public void SetUp() { var directory = ".".ToFullPath().ParentDirectory().ParentDirectory().ParentDirectory() .AppendPath("Storyteller.Samples"); theController = new RemoteController(directory); theInput = new RunInput { Path = directory, RetriesFlag = 1 }; theController = theInput.BuildRemoteController(); var task = theController.Start(EngineMode.Batch); task.Wait(3.Seconds()); theFixtures = task.Result.fixtures; }
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; }