CommonTests.Framework.TestRunner.TestStarted C# (CSharp) Method

TestStarted() public method

public TestStarted ( ITest test ) : void
test ITest
return void
        public void TestStarted(ITest test)
        {
            var testAssembly = test as TestAssembly;
            if (testAssembly != null)
            {
                this.WriteVerbose("=== Executing tests in assembly {0} ===\n",
                    testAssembly.Assembly.FullName);
            }

            var testFixture = test as TestFixture;
            if (testFixture != null)
            {
                this.WriteVerbose("  --- Executing tests in class {0} ---",
                    testFixture.FullName);
            }

            var testMethod = test as TestMethod;
            if (testMethod != null)
            {
                this.WriteVerbose("\tTest {0}.{1} started",
                    testMethod.ClassName, testMethod.MethodName);
            }
        }