[Mono-dev] NUnit versions that come with mono (Mono-devel-list Digest, Vol 117, Issue 45)

Jo Shields directhex at apebox.org
Thu Jan 29 12:06:57 UTC 2015


On 29/01/15 00:54, zvonimir wrote:
> Hi all,
>
> So I am having trouble understanding (and upgrading) NUnit versions that
> come with mono.
>
> In particular, it seems that on openSUSE mono 3.8.0 comes with NUnit 2.4.8.
> On the other hand, on Ubuntu mono 3.2.8 seems to come with NUnit 2.6.0.
> I find this to be a bit bizarre since it seems that a higher version of mono
> comes by default with a lower version if NUnit :). This causes portability
> issues with respect to NUnit and So I would appreciate if somebody could
> clarify these choices.
>
> In addition, I would also like to know how I could update the default
> version of NUnit. Is there a simple way of doing that?

Okay, so Mono has an extensive test suite, which it runs using a bundled
copy of NUnit. This is 2.4.8. It really shouldn't be *installed* as it's
only there to support Mono's test suite execution, but whatever,
historical reasons.

The Debian packages are patched so that the internal Mono-bundled NUnit
is not installed, and instead the distributionwide version of NUnit is
installed instead (this version depends on your release, but it's 2.6.3
currently).

If you're depending on the NUnit version bundled with Mono, then you're
doing it wrong - but it's our own damn fault for allowing that situation
to happen.

Your app should say "I need NUnit 2.6.3" for example, and it's up to the
distributions to provide a package containing that version.


More information about the Mono-devel-list mailing list