public void Should_Work_When_Solution_And_Test_Project_Are_In_Same_Folder()
        {
            var solutionFolderProvider = new SolutionFolderProvider();
            var provided = solutionFolderProvider.Provide(Path.Combine(tempDirectory, "my.proj"));

            Assert.AreEqual(tempDirectory, provided);
        }
        public void Should_Return_Null_When_No_Solution_Directory_Ascendant()
        {
            tempDirectory = fileUtil.CreateTempDirectory();

            var solutionFolderProvider = new SolutionFolderProvider();
            var provided = solutionFolderProvider.Provide(Path.Combine(tempDirectory, "my.proj"));

            Assert.Null(provided);
        }
        public void Should_Look_up_Directory_Tree()
        {
            var projectDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory, "Project"));

            var solutionFolderProvider = new SolutionFolderProvider();
            var provided = solutionFolderProvider.Provide(Path.Combine(projectDirectory.FullName, "my.proj"));

            Assert.AreEqual(tempDirectory, provided);
        }