[Mono-dev] upgrading nunit to newer version

atsushi eno atsushi at ximian.com
Thu Dec 21 01:08:17 EST 2006


2006-12-20 (水) の 08:07 -0500 に joel reed さんは書きました:
> Andy Hume wrote:
> > joel reed wrote:
> > [...]
> >> because the exception class marked is marked internal, I 
> >> couldn't use ExpectedExceptionAttribute with a typeof. In 
> >> nunit 2.2.9, you can do a 
> >> [ExpectedException("System.InvalidOperationException")], 
> >> which would I think help in these scenarios.
> >>
> > Err, I think that NUnit feature has been there for a while; that is ExpectedExceptionAttribute(string exceptionName).  I used it in 2.2.7.  I fact, it apparently arrived in 2.2.4, see e.g. http://www.nunit.org/index.php?p=exception&r=2.2.9:
> > "ExpectedExceptionAttribute [...] The second (NUnit 2.2.4) takes the full name of the expected exception type as a string."
> 
> You are correct, but the version built into the mono/olive tree seems to 
> be 2.0.0, which is too old.

You are incorrect. The version in olive tree is the same 2.2.0 as we
have in our mcs class libs. (No wonder why - I simply copied them from
mcs tree.)

If someone wants to contribute NUnit upgrades in our libs, that would be
great.

Atsushi Eno





More information about the Mono-devel-list mailing list