public ActionResult StopAutomatedTests() { RunTestsHelper.StopNunitTests(_processId); using (var db = new testsettingsEntities()) { return(View(db.settings.ToList())); } }
public ActionResult RunAutomatedTests() { // If you move or rename the root directory 'SeleniumAutomationToolbox', please update these paths #if DEBUG const string path = @"C:\SeleniumAutomationToolbox\src\NetFramework\Automation.Tests\bin\Debug\Automation.Tests.dll"; #endif #if !DEBUG const string path = @"C:\SeleniumAutomationToolbox\src\NetFramework\Automation.Tests\bin\Release\Automation.Tests.dll"; #endif _processId = RunTestsHelper.RunNunitTests( $"{path} " + "--workers=30 " + @"--work=C:\SeleniumAutomationToolbox\NunitWork " + "--trace=Verbose", ProcessWindowStyle.Normal); using (var db = new testsettingsEntities()) { return(View(db.settings.ToList())); } }