[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-osx
Subject:    [Mono-osx] Running NUnit
From:       Peter Williams <pdubya () gmail ! com>
Date:       2006-11-18 0:25:47
Message-ID: CBF82F6D-D518-4859-935A-203BB216A4AC () gmail ! com
[Download RAW message or body]

Hi All

I've been trying to use NUnit, and haven't had much luck.  Does  
anyone have a sample file + steps to build and execute?  Here's what  
I've tried.  I'm using the CSharpTest.cs test from the NUnit-2 source.


564 Peter-Williams-G5 ~/models/tools/sandbox/nunit test> mcs  
CSharpTest.cs -target:library -r:/Library/Frameworks/Mono.framework/ 
Versions/1.2/lib/mono/gac/nunit.framework/2.2.8.0__96d09a1eb7f44a77/ 
nunit.framework.dll
CSharpTest.cs(76,8): warning CS0219: The variable `result' is  
assigned but its value is never used
Compilation succeeded - 1 warning(s)

It compiles to a managed dll, with the one warning.  Feel like I  
shouldn't have to go digging in mono framework to tell mcs where the  
nunit framework is, but it doesn't compile either.

565 Peter-Williams-G5 ~/models/tools/sandbox/nunit test> nunit- 
console2 CSharpTest.dll
NUnit version 2.2.0
Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.  
Vorontsov, Charlie Poole.
Copyright (C) 2000-2003 Philip Craig.
All Rights Reserved.

OS Version: Unix 8.8.0.0    Mono Version: 2.0.50727.42



Tests run: 0, Failures: 0, Not run: 0, Time: 0.001088 seconds

Tests run: 0, Failures: 0, Not run: 0, Time: 0.001088 seconds

It is trying to do something, but doesn't seem to run any tests!

Any help is appreciated.  Sorry if this is OT.



_______________________________________________
Mono-osx mailing list
Mono-osx@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic