[Mono-list] Problem with NUnit under Beta 2

Sébastien Pouliot spouliot@videotron.ca
Wed, 16 Jun 2004 09:27:13 -0400


This is probably a mismatch. NUnit was updated to 2.1.91 before beta 2. So
you should be seeing something like:

NUnit version 2.1.91
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 2.4.22.1    Mono Version: 1.1.4322.573



and not...

> NUnit version 2.1.4


Sebastien Pouliot
http://pages.infinit.net/ctech/poupou.html

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of Ricardo Varela
[phobeo]
Sent: 13 juin 2004 06:15
To: mono-list@lists.ximian.com
Cc: reali@acm.org
Subject: Re: [Mono-list] Problem with NUnit under Beta 2


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



_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list