Public bug reported: 2.6.2 gives me System.NotImplementedException when trying to run on Mono. It appears that TestExecutionContext depends on CallContext.LogicalSetData which has not yet been implemented in any version of Mono:
https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Runtime.Remoting.Messaging/CallContext.cs Here's the output: NUnit-Console version 2.6.2.12296 Copyright (C) 2002-2012 Charlie Poole. Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. Copyright (C) 2000-2002 Philip Craig. All Rights Reserved. Runtime Environment - OS Version: Unix 3.0.0.26 CLR Version: 4.0.30319.17020 ( Mono 4.0 ( 2.11.1 (tarball Tue Jun 19 11:15:02 BST 2012) ) ) ProcessModel: Default DomainUsage: Single Execution Runtime: v4.0 Unhandled exceptions: 1) : System.ApplicationException: Exception in TestRunnerThread ---> System.NotImplementedException: The requested feature is not implemented. at NUnit.Core.TestExecutionContext.Save () [0x00000] in <filename unknown>:0 at NUnit.Core.TestSuite.RunSuiteInContext (EventListener listener, ITestFilter filter) [0x00000] in <filename unknown>:0 at NUnit.Core.TestSuite.Run (EventListener listener, ITestFilter filter) [0x00000] in <filename unknown>:0 at NUnit.Core.SimpleTestRunner.Run (EventListener listener, ITestFilter filter, Boolean tracing, LoggingThreshold logLevel) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at NUnit.Core.TestRunnerThread.TestRunnerThreadProc () [0x00000] in <filename unknown>:0 at System.Threading.Thread.StartInternal () [0x00016] in /tmp/mono-build.20120619110041.32724/mono-2.11.1/mcs/class/corlib/System.Threading/Thread.cs:780 Traceback (most recent call last): 2.6.1 seems to work fine. ** Affects: nunitv2 Importance: Undecided Status: New -- You received this bug notification because you are a member of NUnit Developers, which is subscribed to NUnit V2. https://bugs.launchpad.net/bugs/1076932 Title: NotImplementedException with Mono Status in NUnit V2 Test Framework: New Bug description: 2.6.2 gives me System.NotImplementedException when trying to run on Mono. It appears that TestExecutionContext depends on CallContext.LogicalSetData which has not yet been implemented in any version of Mono: https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Runtime.Remoting.Messaging/CallContext.cs Here's the output: NUnit-Console version 2.6.2.12296 Copyright (C) 2002-2012 Charlie Poole. Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. Copyright (C) 2000-2002 Philip Craig. All Rights Reserved. Runtime Environment - OS Version: Unix 3.0.0.26 CLR Version: 4.0.30319.17020 ( Mono 4.0 ( 2.11.1 (tarball Tue Jun 19 11:15:02 BST 2012) ) ) ProcessModel: Default DomainUsage: Single Execution Runtime: v4.0 Unhandled exceptions: 1) : System.ApplicationException: Exception in TestRunnerThread ---> System.NotImplementedException: The requested feature is not implemented. at NUnit.Core.TestExecutionContext.Save () [0x00000] in <filename unknown>:0 at NUnit.Core.TestSuite.RunSuiteInContext (EventListener listener, ITestFilter filter) [0x00000] in <filename unknown>:0 at NUnit.Core.TestSuite.Run (EventListener listener, ITestFilter filter) [0x00000] in <filename unknown>:0 at NUnit.Core.SimpleTestRunner.Run (EventListener listener, ITestFilter filter, Boolean tracing, LoggingThreshold logLevel) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at NUnit.Core.TestRunnerThread.TestRunnerThreadProc () [0x00000] in <filename unknown>:0 at System.Threading.Thread.StartInternal () [0x00016] in /tmp/mono-build.20120619110041.32724/mono-2.11.1/mcs/class/corlib/System.Threading/Thread.cs:780 Traceback (most recent call last): 2.6.1 seems to work fine. To manage notifications about this bug go to: https://bugs.launchpad.net/nunitv2/+bug/1076932/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : nunit-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp