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

WriteInfo() protected method

protected WriteInfo ( string format ) : void
format string
return void
        protected void WriteInfo(string format, params object[] args)
        {
            WriteToOutput(format, LogLevel.Info, args);
        }

Usage Example

Esempio n. 1
0
            public bool Pass(ITest test)
            {
                if (test.Method == null)
                {
                    return(true);
                }

                var testName   = test.Name;
                var categories = (test.Properties.ContainsKey(CategoryKey)) ?
                                 test.Properties[CategoryKey] : new List <string>();

                var shouldRunTest = CheckTests ? ShouldRunTest(testName) : ShouldRunCategories(categories);

                if (!shouldRunTest)
                {
                    _runner.WriteInfo("Test {0} ({1}) excluded from run by filter", testName, test.FullName);
                }

                return(shouldRunTest);
            }