logo       

RE: Use of ExpectedExceptionAttribute class in unit tests: msg#00072

windows.dotnet.nunit.devel

Subject: RE: Use of ExpectedExceptionAttribute class in unit tests

"Not welcome" is a pretty strong statement.

"Exceeded our bandwidth" is more accurate.

One of the changes discussed in the past is in our 2.2.4 release. Additional
changes to ExpectedException are in the 2.4 release plan. Boris agreed to
work on making his particular idea an _extension_ rather than a change to
the NUnit core. Our focus on getting the extensibility mechanism working
right is aimed at exactly this problem: many people want many things out of
NUnit, and they can't all be in the core - or at least we don't think they
should be.

Charlie

> -----Original Message-----
> From: nunit-developer-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:nunit-developer-
> admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Sunny
> Sent: Saturday, December 17, 2005 5:39 AM
> To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [nunit-developer] Use of ExpectedExceptionAttribute class in
> unit tests
>
> On 12/14/05, Boris Partensky <Boris.Partensky@xxxxxxxxxxxxx> wrote:
>
> >
> >
> > [ExpectedComException(0xEEBF004EL)]
> >
> > public void TestAddInvalidConstraintToPO()
> >
> > {
> >
> > Utils.TestComException(0xEEBF004EL();
> >
> > }
> >
> >
> >
>
> Some months ago I have proposed changes in ExpectedExceptions, which
> allowed to test a particular property of the exception, not only the
> message.
>
> For some reason, such a change was not welcomed, but maybe your post
> will rise again a discussion about it.
>
> Cheers
>
>
> --
> Svetoslav Milenov (Sunny)
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
> _______________________________________________
> nunit-developer mailing list
> nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nunit-developer




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise