public void can_determine_framework_from_project_file_chooses_only() { var input = new OpenInput { PathFlag = TestingContext.FindParallelDirectory("DatabaseSamples") }; input.DetermineFramework().ShouldBe("netcoreapp1.1"); }
public void can_determine_framework_from_project_file_choose_first() { var input = new OpenInput { PathFlag = TestingContext.FindParallelDirectory("Samples") }; input.DetermineFramework().ShouldBe("net46"); }
public void override_framework_with_flag() { var input = new OpenInput { FrameworkFlag = "netcoreapp1.1", PathFlag = TestingContext.FindParallelDirectory("Samples") }; input.DetermineFramework().ShouldBe("netcoreapp1.1"); }