void SetStartUpParameters(ITestRun testRun) { if (TestRunStartTypes.Immediately == testRun.StartType) testRun.Status = TestRunQueue.TestRuns.Any(tr => tr.TestLabId == testRun.TestLabId && tr.IsQueued()) ? TestRunStatuses.Pending : TestRunStatuses.Running; if (testRun.IsActive()) testRun.SetStartTime(); }
void THEN_testRun_is_running(ITestRun testRun) { Assert.Equal(true, testRun.IsActive()); }
void ThenTestRunIsRunning(ITestRun testRun) { Assert.Equal(true, testRun.IsActive()); }
void ThenTestRunIsRunning(ITestRun testRun) { Assert.Equal(true, testRun.IsActive()); }