[Mono-list] Problem with NUnit
Philippe Lavoie
philippe.lavoie@cactus.ca
Tue, 8 Jul 2003 10:42:11 -0400
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
=20
Cactus Commerce eBusiness. All Business.
Tel 819.778.0313 x302 * 888.CACTUS.0 * Fax 819.771.0921
www.cactuscommerce.com philippe.lavoie@cactuscommerce.com
-----Original Message-----
From: Giuseppe Greco [mailto:gius.greco@bluewin.ch]=20
Sent: Monday, July 07, 2003 1:19 AM
To: mono-list@lists.ximian.com
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: giuseppe.greco@agamura.com
Web: www.agamura.com
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list