示例#1
0
        protected void LoadFromFolder(string path)
        {
            RootPath = path;
            TestProject testProject = PowerShellTestDiscoverer.GetFolderTests(path, null);

            if (testProject.ItemCount() > 0)
            {
                TestSolution solution = new TestSolution();
                solution.Projects.Add(testProject);
                Model.Merge(solution);
                CleartestFilesByPath();
                OnModelChanged();
            }
        }