public static VsTestSettings ResetFramework(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Framework = null; return(toolSettings); }
public static VsTestSettings SetEnableCodeCoverage(this VsTestSettings toolSettings, bool?enableCodeCoverage) { toolSettings = toolSettings.NewInstance(); toolSettings.EnableCodeCoverage = enableCodeCoverage; return(toolSettings); }
public static VsTestSettings ToggleEnableCodeCoverage(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.EnableCodeCoverage = !toolSettings.EnableCodeCoverage; return(toolSettings); }
public static VsTestSettings SetParallel(this VsTestSettings toolSettings, bool?parallel) { toolSettings = toolSettings.NewInstance(); toolSettings.Parallel = parallel; return(toolSettings); }
public static VsTestSettings DisableParallel(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Parallel = false; return(toolSettings); }
public static VsTestSettings SetTests(this VsTestSettings toolSettings, IEnumerable <string> tests) { toolSettings = toolSettings.NewInstance(); toolSettings.TestsInternal = tests.ToList(); return(toolSettings); }
public static VsTestSettings AddTests(this VsTestSettings toolSettings, IEnumerable <string> tests) { toolSettings = toolSettings.NewInstance(); toolSettings.TestsInternal.AddRange(tests); return(toolSettings); }
public static VsTestSettings ResetLogger(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Logger = null; return(toolSettings); }
public static VsTestSettings SetListTests(this VsTestSettings toolSettings, string listTests) { toolSettings = toolSettings.NewInstance(); toolSettings.ListTests = listTests; return(toolSettings); }
public static VsTestSettings SetTestCaseFilter(this VsTestSettings toolSettings, string testCaseFilterKey, string testCaseFilterValue) { toolSettings = toolSettings.NewInstance(); toolSettings.TestCaseFiltersInternal[testCaseFilterKey] = testCaseFilterValue; return(toolSettings); }
public static VsTestSettings SetLogger(this VsTestSettings toolSettings, string logger) { toolSettings = toolSettings.NewInstance(); toolSettings.Logger = logger; return(toolSettings); }
public static VsTestSettings RemoveTestCaseFilter(this VsTestSettings toolSettings, string testCaseFilterKey) { toolSettings = toolSettings.NewInstance(); toolSettings.TestCaseFiltersInternal.Remove(testCaseFilterKey); return(toolSettings); }
public static VsTestSettings AddTestCaseFilter(this VsTestSettings toolSettings, string testCaseFilterKey, string testCaseFilterValue) { toolSettings = toolSettings.NewInstance(); toolSettings.TestCaseFiltersInternal.Add(testCaseFilterKey, testCaseFilterValue); return(toolSettings); }
public static VsTestSettings SetTestCaseFilters(this VsTestSettings toolSettings, IDictionary <string, string> testCaseFilters) { toolSettings = toolSettings.NewInstance(); toolSettings.TestCaseFiltersInternal = testCaseFilters.ToDictionary(x => x.Key, x => x.Value, StringComparer.OrdinalIgnoreCase); return(toolSettings); }
public static VsTestSettings ResetSettingsFile(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.SettingsFile = null; return(toolSettings); }
public static VsTestSettings EnableListLoggers(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ListLoggers = true; return(toolSettings); }
public static VsTestSettings SetTests(this VsTestSettings toolSettings, params string[] tests) { toolSettings = toolSettings.NewInstance(); toolSettings.TestsInternal = tests.ToList(); return(toolSettings); }
public static VsTestSettings SetListSettingsProviders(this VsTestSettings toolSettings, bool?listSettingsProviders) { toolSettings = toolSettings.NewInstance(); toolSettings.ListSettingsProviders = listSettingsProviders; return(toolSettings); }
public static VsTestSettings AddTests(this VsTestSettings toolSettings, params string[] tests) { toolSettings = toolSettings.NewInstance(); toolSettings.TestsInternal.AddRange(tests); return(toolSettings); }
public static VsTestSettings ResetListSettingsProviders(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ListSettingsProviders = null; return(toolSettings); }
public static VsTestSettings ClearTests(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.TestsInternal.Clear(); return(toolSettings); }
public static VsTestSettings DisableListSettingsProviders(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ListSettingsProviders = false; return(toolSettings); }
public static VsTestSettings ResetParallel(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Parallel = null; return(toolSettings); }
public static VsTestSettings ToggleListSettingsProviders(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ListSettingsProviders = !toolSettings.ListSettingsProviders; return(toolSettings); }
public static VsTestSettings ToggleParallel(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Parallel = !toolSettings.Parallel; return(toolSettings); }
public static VsTestSettings SetDiagnosticsFile(this VsTestSettings toolSettings, string diagnosticsFile) { toolSettings = toolSettings.NewInstance(); toolSettings.DiagnosticsFile = diagnosticsFile; return(toolSettings); }
public static VsTestSettings ResetEnableCodeCoverage(this VsTestSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.EnableCodeCoverage = null; return(toolSettings); }
public static VsTestSettings SetSettingsFile(this VsTestSettings toolSettings, string settingsFile) { toolSettings = toolSettings.NewInstance(); toolSettings.SettingsFile = settingsFile; return(toolSettings); }
public static VsTestSettings SetInIsolation(this VsTestSettings toolSettings, bool?inIsolation) { toolSettings = toolSettings.NewInstance(); toolSettings.InIsolation = inIsolation; return(toolSettings); }
public static VsTestSettings SetFramework(this VsTestSettings toolSettings, VsTestFramework framework) { toolSettings = toolSettings.NewInstance(); toolSettings.Framework = framework; return(toolSettings); }