示例#1
0
        public void override_framework_with_flag()
        {
            var input = new OpenInput
            {
                FrameworkFlag = "netcoreapp1.1",
                PathFlag      = TestingContext.FindParallelDirectory("Samples")
            };

            input.DetermineFramework().ShouldBe("netcoreapp1.1");
        }
示例#2
0
        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());
        }