Might be a different problem.
Can you send me the code for your test? You might also try running the
tests with the debugger (use TestDriven.Net or ReSharper in Visual Studio),
see where it breaks.
This is very likely some kind of fail-fast within the test host. Usually
that's caused by a StackOverflowException. Out of curiosity, what happens
if you replace Assert.Throws<T> with this:
try
{
MyCode();
Assert.Fail("Expected exception...");
}
catch (MyException)
{
}
Jeff.
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Dan Lash
Sent: Friday, November 14, 2008 12:04 PM
To: MbUnit.User
Subject: MbUnit Re: Error using Assert.Throws
I just installed the 533 build as suggested and it looks like I'm
experiencing the same problem with Assert.Throws<>:
http://screencast.com/t/rxLsx4HjZq
Is there anything I can do to fix this, or is it just a waiting game?
Dan Lash
On Nov 14, 1:36 pm, "Jeff Brown" <[EMAIL PROTECTED]> wrote:
> The most likely cause here is a StackOverflowException.
> It turns out that there was a bug in one of the internal routines used
> by Assert.Throws.
>
> This has been fixed and will be included in the upcoming v3.0.5 release.
>
> Please try installing one of these nightly builds:
>
>
http://ccnet.gallio.org/Distributables/GallioBundle-3.0.4.533-Setup-x...http
://ccnet.gallio.org/Distributables/GallioBundle-3.0.4.533-Setup-x...
>
> Jeff.
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> On
>
> Behalf Of wheelibin
> Sent: Friday, November 14, 2008 4:13 AM
> To: MbUnit.User
> Subject: MbUnit Error using Assert.Throws
>
> Hi
>
> I'm new to TDD and MbUnit so if I've done something daft please forgive
me.
>
> I'm getting an error when using Assert.Throws in a test.
>
> Gallio throws this error when I run the
> test:http://www.flickr.com/photos/wheelibin/3028927227/sizes/o/
>
> Can anyone please help me? Is it something I'm doing wrong?
>
> Thanks in advance anyone- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---