public void Should_detect_when_multiple_projects_exist_with_correct_count_when_three() { var tempPath = GetPathWithThreeProjects(); var bs = new TestAppBootStrapper(tempPath); bs.DetectProjectMode().Should().Be(AppProjectsStructureMode.MultipleUnchosen); bs.GetProjects().Count().Should().Be(3); }
public void Should_detect_when_multiple_projects_exist_with_correct_count_when_one() { var tempPath = GetNewEmptyPathThatExists(); Directory.CreateDirectory(Path.Combine(tempPath, "Project1")); var bs = new TestAppBootStrapper(tempPath); bs.DetectProjectMode().Should().Be(AppProjectsStructureMode.Single); bs.GetProjects().Count().Should().Be(1); }