[Mono-list] Problem with NUnit under Beta 2

Ricardo Varela [phobeo] phobeo@sugus.eii.us.es
Sun, 13 Jun 2004 12:14:50 +0200 (CEST)


hallo, Patrik,

It's my oppinion, but I think that's an issue with the mono version of
NUnit. I've got the same error message running the nunit.tests.dll from
the NUnit package itself (with mono beta 2 and nunit 2.2-beta1). Which
version of nunit are you using?

--
Ricardo Varela

> Hi!
>
> I'm porting the NUnit-based integration tests of IIOP.NET
> (http://www.iiop.net/) to mono, but nothing seems to work. I installed
> mono  beta 2 in /usr/local.
>
> My completely stripped down test is as follows:
>
> using System;
> using NUnit.Framework;
>
> namespace IntegrationTests {
>
>     [TestFixture]
>     public class Client {
>
>         [Test]
>         public void TDouble() {
>                 Assertion.Assert(false);
>         }
>     }
> }
>
> Below is a test-run: no test is run and an exception follows. Am I the
> only  one to experience this?
>
>
>> mcs /t:library /r:/usr/local/lib/mono/1.0/nunit.framework.dll test.cs
>> mono /usr/local/bin/nunit-console.exe  bin/ClientTest.dll
> NUnit version 2.1.4
> Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
> Vorontsov, Charlie Poole.
> Copyright (C) 2000-2003 Philip Craig.
> All Rights Reserved.
>
>
> Tests run: 0, Failures: 0, Not run: 0, Time: 0.023443 seconds
>
>
>
> Unhandled Exception: System.NullReferenceException: Object reference not
>  set to an instance of an object
>
>
> Thanks,
>   Patrik
>
> --------------------------------
> Patrik Reali
> http://www.reali.ch/~patrik/
> http://iiop-net.sourceforge.net/
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list