IntegrationTesting.CommandRunner.CommandRunner C# (CSharp) 메소드

CommandRunner() 공개 메소드

public CommandRunner ( ) : System
리턴 System
        public CommandRunner()
        {
            var path = Environment.CurrentDirectory;

            var fileSystem = new FileSystem();

            bool isFound = fileSystem.FileExists(path, @"src\fubu\bin\debug", "fubu.exe");
            while (!isFound)
            {
                path = Path.Combine(path, "..");
                isFound = fileSystem.FileExists(path, @"src\fubu\bin\debug", "fubu.exe");
            }

            _solutionDirectory = Path.GetFullPath(path);
        }