private void TestStepStarted(object sender, TestStepStartedEventArgs e)
        {
            TestMonitor testMonitor = GetTestMonitor(e.Test.Id);

            if (testMonitor != null)
            {
                testMonitor.TestStepStarted();
            }
        }
Beispiel #2
0
        private void LogTestCaseStarted(TestStepStartedEventArgs e)
        {
            var testCase = testCaseFactory.GetTestCase(e.Test);

            executionRecorder.RecordStart(testCase);
        }
 void _execution_OnTestStepStarted(object sender, TestStepStartedEventArgs args)
 {
 }
Beispiel #4
0
 /// <inheritdoc />
 protected override void LogTestCaseStarted(TestStepStartedEventArgs e)
 {
 }
Beispiel #5
0
        void _execution_OnTestStepStarted(object sender, TestStepStartedEventArgs args)
        {
            var currentStep = this.TestSteps.Where(s => s.Order == args.Id).First();

            currentStep.StepStatus = TestStepStatus.RUNNING;
        }
Beispiel #6
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));
 }