public void LoggingTestSetup() { InitLogging(); ExceptionVerification.Reset(); TestLogger.Info("--- Start: {0} ---", TestContext.CurrentContext.Test.FullName); }
private static void RegisterExceptionVerification() { var exceptionVerification = new ExceptionVerification(); LogManager.Configuration.AddTarget("ExceptionVerification", exceptionVerification); LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Warn, exceptionVerification)); }
public void LoggingTestSetup() { InitLogging(); ExceptionVerification.Reset(); }
public void LoggingDownBase() { ExceptionVerification.AssertNoUnexcpectedLogs(); }