Esempio n. 1
0
        public string PrepareNUnitClonsoleAndGetPath(string sandboxPath, string nunitPath)
        {
            var nunitBasePath = Path.GetFullPath(Path.Combine(sandboxPath, "nunit"));

            JunctionPoint.Create(nunitBasePath, nunitPath, true);
            return(GetConsolePath(nunitBasePath));
        }
        public string PrepareNUnitConsoleAndGetPath(string sandboxPath, string nunitPath)
        {
            if (sandboxPath == null)
            {
                throw new ArgumentNullException(nameof(sandboxPath));
            }
            if (nunitPath == null)
            {
                throw new ArgumentNullException(nameof(nunitPath));
            }
            var nunitBasePath = Path.GetFullPath(Path.Combine(sandboxPath, "nunit"));

            JunctionPoint.Create(nunitBasePath, nunitPath, true);
            return(GetConsolePath(nunitBasePath));
        }