diff --git a/Tests/Cosmos.TestRunner.UnitTest/MyEngine.cs b/Tests/Cosmos.TestRunner.UnitTest/MyEngine.cs index 61d9a3a53..0fea74a84 100644 --- a/Tests/Cosmos.TestRunner.UnitTest/MyEngine.cs +++ b/Tests/Cosmos.TestRunner.UnitTest/MyEngine.cs @@ -51,9 +51,9 @@ namespace Cosmos.TestRunner.UnitTest { throw; } - catch(Exception E) + catch (Exception e) { - Console.WriteLine("Exception occurred: " + E.ToString()); + Console.WriteLine("Exception occurred: " + e.ToString()); Assert.Fail(); } } @@ -62,7 +62,8 @@ namespace Cosmos.TestRunner.UnitTest { protected override void Log(string message) { - TestContext.WriteLine(String.Concat(DateTime.Now.ToString("hh:mm:ss.ffffff "), new String(' ', mLogLevel * 2), message)); + // NUnit Issue: https://github.com/nunit/nunit/issues/1952 + //TestContext.WriteLine(string.Concat(DateTime.Now.ToString("hh:mm:ss.ffffff "), new string(' ', mLogLevel * 2), message)); } } } diff --git a/appveyor.yml b/appveyor.yml index b7c763e0d..ae39052f6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -50,12 +50,15 @@ build_script: msbuild "Cosmos.sln" /maxcpucount /verbosity:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Platform="Any CPU" /p:Configuration=Debug /p:DeployExtension=false -test: +test: off assemblies: # - Cosmos.Core.Memory.Test.dll # - DebugCompiler.dll - Cosmos.TestRunner.UnitTest.dll +test_script: + - dotnet test Tests\Cosmos.TestRunner.UnitTest + notifications: - provider: Webhook url: https://webhooks.gitter.im/e/d5c57ffb9a04b1b180be