예제 #1
0
 public void TestStarted(TestName testName)
 {
     testInfo          = new ReporterTestInfo();
     testInfo.TestName = testName.Name;
     testInfo.FullyQualifiedTestClassName = testName.FullName;
     testInfo.Status = ReporterTestInfo.TestStatus.success;
     report.StartTest(testInfo);
     testStopwatch = new Stopwatch();
     testStopwatch.Start();
 }
예제 #2
0
        public void BeforeAll()
        {
            report = ReportManager.Instance;

            TestContext.TestAdapter testAdapter = TestContext.CurrentContext.Test;

            testInfo = new ReporterTestInfo();

            testInfo.TestName = testAdapter.Name;
            testInfo.FullyQualifiedTestClassName = testAdapter.FullName;

            testInfo.Status = DifidoTestStatus.success;

            testStopwatch = new Stopwatch();
            testStopwatch.Start();

            report.StartTest(testInfo);
        }