protected virtual void InitRunnerTypes() { var runnerLibraries = RunnerEnvironmentUtils.GetEnvironmentVariable(EnvironmentConsts.RunnerLibraries); Trace.WriteLine(string.Format("Testing with runner libraries: [{0}]", runnerLibraries)); if (!string.IsNullOrEmpty(runnerLibraries)) { var libs = runnerLibraries.Split(','); foreach (var lib in libs) { ProvisionRunnerAssemblies.Add(lib); } } if (ProvisionRunnerAssemblies.Count == 0) { throw new ArgumentException("Cannot find any test runners. Please configure test runners via SPMeta2.Regression.Environment.ps1 script."); } // Test runners should be managed via SPMeta2.Regression.Environment.ps1 // Manual adding is for internal use only. // ProvisionRunnerAssemblies.Add("SPMeta2.Regression.Runners.O365.dll"); // ProvisionRunnerAssemblies.Add("SPMeta2.Regression.Runners.CSOM.dll"); //ProvisionRunnerAssemblies.Clear(); //ProvisionRunnerAssemblies.Add("SPMeta2.Containers.SSOM.dll"); }
protected override void InitRunnerTypes() { ProvisionRunnerAssemblies.Clear(); // should be run only on-premis //ProvisionRunnerAssemblies.Add("SPMeta2.Regression.Runners.SSOM.dll"); }