/// <summary>
 /// Dispatches the <see cref="TestStepStarted" /> event.
 /// </summary>
 /// <param name="e">The event arguments.</param>
 public void NotifyTestStepStarted(TestStepStartedEventArgs e)
 {
     EventHandlerPolicy.SafeInvoke(TestStepStarted, this, e);
 }
示例#2
0
 /// <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));
 }
 protected override void LogTestCaseStarted(TestStepStartedEventArgs e)
 {
 }
        private void LogTestCaseStarted(TestStepStartedEventArgs e)
        {
            var testCase = CreateTestCase(e.Test);

            var testResult = CreateTest(e.Test, e.TestStepRun, testCase);

            _executionRecorder.RecordStart(testCase);

            _executionRecorder.RecordResult(testResult);
        }
 private void LogTestCaseStarted(TestStepStartedEventArgs e)
 {
     var testCase = testCaseFactory.GetTestCase(e.Test);
     executionRecorder.RecordStart(testCase);
 }
 private void TestStepStarted(object sender, TestStepStartedEventArgs e)
 {
     TestMonitor testMonitor = GetTestMonitor(e.Test.Id);
     if (testMonitor != null)
         testMonitor.TestStepStarted();
 }
 /// <summary>
 /// Dispatches the <see cref="TestStepStarted" /> event.
 /// </summary>
 /// <param name="e">The event arguments.</param>
 public void NotifyTestStepStarted(TestStepStartedEventArgs e)
 {
     EventHandlerPolicy.SafeInvoke(TestStepStarted, this, e);
 }