I had something similar happen to me once. My problem was that the
runtime for nunit was using a different NUnit.Framework.DLL than the one
I used to compile.

Syncing those versions cleaned things up. For the curious, one version
was compiled in .NET 1.1, the other in .NET 1.0.

Philippe Lavoie

 

   Cactus Commerce         eBusiness. All Business.
 Tel 819.778.0313 x302 * 888.CACTUS.0 * Fax 819.771.0921
www.cactuscommerce.com [EMAIL PROTECTED]


-----Original Message-----
From: Giuseppe Greco [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 07, 2003 1:19 AM
To: [EMAIL PROTECTED]
Subject: [Mono-list] Problem with NUnit

Hi all,

I'm not able to get my test units running
on Linux. They are correct (they do work
with .NET on Windows); here's an example:

namespace Gekkota.Core.Tests
{
  using Gekkota.Core;
  using NUnit.Framework;

  [TestFixture]
  public class NetConverterTest
  {
    [Test]
    public void SByteFieldToByteArray()
    {
      ...
    }

    [Test]
    public void DoubleFieldToByteArray()
    {
      ...
    }
  }
}

When trying to execute my test units on Linux,
I always get the following error message:

NUnit 2.0 Error:
build/gekkota-debug/bin/Gekkota.Core.Tests.dll has no TestFixtures

... but my dll does contain TestFixtures.

Any idea? Is there a work around?
I'm using the very last version of mono/mcs from CVS.

Thanks,

Gius_.

------------------------------
Giuseppe Greco

::agamura::

Phone: +41 91 604 67 65
Email: [EMAIL PROTECTED]
Web:   www.agamura.com

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to