public void override_framework_with_flag() { var input = new OpenInput { FrameworkFlag = "netcoreapp1.1", PathFlag = TestingContext.FindParallelDirectory("Samples") }; input.DetermineFramework().ShouldBe("netcoreapp1.1"); }
private Task <SystemRecycled> start(string projectName, string framework = null) { _project = new Project { ProjectPath = TestingContext.FindParallelDirectory(projectName) }; if (framework.IsNotEmpty()) { _project.Framework = framework; } _controller = new EngineController(_project, new ProcessRunnerSystemLauncher(_project)); return(_controller.Start()); }