private void LoadTestRunners() { _pluginLoader.LoadTestRunnersPlugins(); foreach (var testFrameworkRunner in _pluginLoader.TestRunnersPluginList) { cmbTestRunners.Items.Add(testFrameworkRunner.GetDisplayName()); } if (cmbTestRunners.Items.Count <= 0) { return; } cmbTestRunners.SelectedIndex = 0; _testFrameworkRunner = _pluginLoader.TestRunnersPluginList[0]; lblExportExcel.Visible = true; }
public void SetTestRunner(TestFrameworkRunner testFrameworkRunner) { _testFrameworkRunner = testFrameworkRunner; _testCasesController.SetTestRunner(testFrameworkRunner); }
private void cmbTestRunners_SelectionChangeCommitted(object sender, EventArgs e) { _testFrameworkRunner = _pluginLoader.TestRunnersPluginList[cmbTestRunners.SelectedIndex]; }
/// <summary> /// Set for the _testFrameworkRunner property /// </summary> /// <param name="testFrameworkRunner"></param> public void SetTestRunner(TestFrameworkRunner testFrameworkRunner) { _testFrameworkRunner = testFrameworkRunner; }