[Mono-devel-list] Nunit2.0 from Mono code problems and success from Nunit 2.1.4 codebase!!

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Fri Sep 19 23:33:27 EDT 2003

Hi all.

I'm trying to use nunit2.0 from mcs/nunit20 dir with Mono, but I'm 
having problems....

This is the stack trace I get when executing mono --debug 
nunit-console.exe passing my NpgsqlTests.dll nunit2.0 tests file:

mono --debug `which nunit-console.exe` NpgsqlTests.dll
NUnit version 2.0.9
Copyright (C) 2002 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.
GC Warning: Finalization cycle involving 807ef00

Unhandled Exception: System.IO.FileNotFoundException: File 'NpgsqlTests' 
not found.
in [0x00096] (at 
in (unmanaged) (wrapper remoting-invoke) System.AppDomain:DoCallBack 
in <0x00004> (wrapper remoting-invoke) System.AppDomain:DoCallBack 
in <0x00032> (wrapper remoting-invoke-with-check) 
System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
in [0x00055] (at 
in [0x00029] (at 
NUnit.Framework.TestDomain:Load (string)
in [0x00051] (at 
NUnit.Framework.TestDomain:Load (string)
in [0x00026] (at 
in [0x0009d] (at 
NUnit.Console.ConsoleUi:Main (string[])

GC Warning: Finalization cycle involving 807ef00
[fxjr at mercurio nunit2tests]$

I'm trying this using the latest cvs code, as of, 2003-09-20 00:10.

I tried to find what could be wrong, but I couldn't find :(

While digging in the code I suspect it could be something like some 
missing required reference not being loaded in the assembly so it can't 
load my NpgsqlTests test suite class and throws this exception.

While trying to solve my nunit problems, I tried to download and compile 
the Nunit 2.1.4 code from sourceforge. And the good news is that I could 
get the nunit-console.exe to be compiled and run in Mono!! :)

Thanks for attention.


Francisco Figueiredo Jr.

"My grandfather once told me that there are two
kinds of people: those
who work and those who take the credit. He told me
to try to be in the
first group; there was less competition there."
- Indira Gandhi

More information about the Mono-devel-list mailing list