[Mono-list] Nunit console problem

Kris Luyten kris.luyten@luc.ac.be
14 Aug 2003 20:06:26 +0200


Hi, I try to use Nunit tests, but the "nunit-console" application always
throws a "FileNotFoundException". It is Nunit version 2.0.9.

I execute the test as follows: "mono `which nunit-console.exe`
nunit.tests.dll"
I also tried to execute: "mono `which nunit-console.exe`
/assembly:nunit.tests.dll" (it does not recognize the assembly opton
apparantly.

I always get:
Unhandled Exception: System.IO.FileNotFoundException: File 'nunit.tests'
not found.
in <0x000ab> 00 System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&)
in (unmanaged) 07 System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
in <0x00004> 07 System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
in <0x0012a> 00 NUnit.Framework.TestDomain:MakeRemoteTestRunner
(System.IO.FileInfo,System.AppDomain)
in <0x00092> 00 NUnit.Framework.TestDomain:Load (string)
in <0x000db> 00 NUnit.Framework.TestDomain:Load (string)
in <0x00091> 00 NUnit.Console.ConsoleUi:MakeTestFromCommandLine
(NUnit.Framework.TestDomain,NUnit.Util.ConsoleOptions)
in <0x001c2> 00 NUnit.Console.ConsoleUi:Main (string[])
 
GC Warning: Finalization cycle involving 805ef00

Is this a common error?

Thanks,
Kris
-- 
Kris Luyten
email: kris.luyten@luc.ac.be
PGP-key: http://lumumba.luc.ac.be/kris/kris-pub.txt
homepage: http://lumumba.luc.ac.be/kris/