[Mono-list] Problem with NUnit

Giuseppe Greco gius.greco@bluewin.ch
Mon, 7 Jul 2003 07:19:26 +0200


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: giuseppe.greco@agamura.com
Web:   www.agamura.com