private void TestStepStarted(object sender, TestStepStartedEventArgs e) { TestMonitor testMonitor = GetTestMonitor(e.Test.Id); if (testMonitor != null) { testMonitor.TestStepStarted(); } }
private void LogTestCaseStarted(TestStepStartedEventArgs e) { var testCase = testCaseFactory.GetTestCase(e.Test); executionRecorder.RecordStart(testCase); }
void _execution_OnTestStepStarted(object sender, TestStepStartedEventArgs args) { }
/// <inheritdoc /> protected override void LogTestCaseStarted(TestStepStartedEventArgs e) { }
void _execution_OnTestStepStarted(object sender, TestStepStartedEventArgs args) { var currentStep = this.TestSteps.Where(s => s.Order == args.Id).First(); currentStep.StepStatus = TestStepStatus.RUNNING; }
/// <summary> /// Logs a message about a test case that has started. /// </summary> /// <remarks> /// <para> /// This method is not called for test steps that have <see cref="TestStep.IsTestCase"/> set to false. /// </para> /// </remarks> /// <param name="e">The event.</param> protected virtual void LogTestCaseStarted(TestStepStartedEventArgs e) { Logger.Log(LogSeverity.Debug, String.Format("[starting] {0}", e.TestStepRun.Step.FullName)); }