[MonoDevelop] NUnit integration problem
"Andrés G. Aragoneses"
knocte at gmail.com
Fri Feb 27 18:28:02 EST 2009
Could you file this bug?
Cyryl Płotnicki-Chudyk wrote:
> On 02/25/2009 06:03:53 PM, Cyryl Płotnicki-Chudyk wrote:
>> Hello there !
>> I got Monodevelop 1.9.2 installed and I am pretty happy with it.
>> The problem is I have solution with two projects in it, one with my
>> library and other
>> with tests for that library in it.
>> When I try to run tests from the integrated runner it tells me that
>> there was an internal error. [Screenshot attached]
>> By the way, is there a way to debug NUnit tests in monodevelop ?
> I compiled the latest version from source [r128027] and then tried to
> debug the problem:
> 1) on the unit tests tree pane 'debug' context menu option appeared -
> that's great !
> 2) after clicking it stopped the debugger at
> ExternalTestRunner.cs:68 :
> NUnitTestRunner GetRunner (string assemblyPath)
> => TestPackage package = new TestPackage (assemblyPath);
> continue gives this output on the console:
> ERROR [2009-02-25 21:48:21Z]: System.NullReferenceException: Object
> reference not set to an instance of an object
> Server stack trace:
> at NUnit.Core.TestPackage.IsAssemblyFileType (System.String path)
> at NUnit.Core.TestPackage..ctor (System.String name) [0x00000]
> at MonoDevelop.NUnit.External.ExternalTestRunner.GetRunner
> (System.String assemblyPath) [0x00000] in /home/cyryl/mono/monodevelop/
> at MonoDevelop.NUnit.External.ExternalTestRunner.Run
> (IRemoteEventListener listener, ITestFilter filter, System.String path,
> System.String suiteName, System.Collections.Generic.List`1
> supportAssemblies) [0x00000] in /home/cyryl/mono/monodevelop/main/src/
> at (wrapper managed-to-native)
> at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage
> (System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x000a4]
> in /usr/src/packages/BUILD/mono-2.2/mcs/class/corlib/
> Exception rethrown at :
> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
> (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
> System.Exception& exc, System.Object& out_args) [0x00000]
> Server OnTargetEvent: TargetExited stopped:False data:0 internal:False
> queue:0 thread: running:True
> Thread 9 exited.
More information about the Monodevelop-list