[MonoDevelop] [PATCH] NUnit 2.2.8.0 compliance

Jacob Ilsø Christensen jacobilsoe at gmail.com
Mon Dec 4 14:34:38 EST 2006


On 12/4/06, Jacob Ilsø Christensen <jacobilsoe at gmail.com> wrote:
> On 12/4/06, Charlie Poole <charlie at pooleconsulting.com> wrote:
> > Hi Lluis,
> >
> > > The problem is that with this patch the add-in won't compile
> > > with NUnit 2.2.0.0. The solution is to add the NUnit dlls
> > > into the nunit add-in, so we can avoid depending on the
> > > specific version installed in each system.
> >
> > I think adding a later version of the nunit dlls - the subset
> > that you require - to the monodevelop distribution is a great
> > first step.
>
> Yes. I am working on this atm. Just so no one else does it too. :-)

Here goes. The attached patch makes the NUnit add-in use the nunit dll
from a local lib dir instead of that in the GAC.

To try it out you need to place nunit.core.dll in Extras/NUnit/lib. I
used version 2.2.9 for .NET 2.0.

It seems to work, but I cannot remember how well failed tests show up
in the test runner. Are line numbers usually included?

Let me know if you find any problems.

/Jacob

>
> > In the longer run, I'd rather give you an assembly that
> > provides a façade to whatever version of NUnit the user
> > cares to use, and possibly allows selection at runtime.
> >
> > Charlie
> >
> >
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nunit.patch
Type: text/x-patch
Size: 5223 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20061204/f8717de9/attachment.bin 


More information about the Monodevelop-list mailing list