I have a question regarding using RowTests and the ExpectedException
attribute.
It appears as though you can only have one Row on your RowTest if you
are using the ExpectedException attribute.
For example, this test passes:
[RowTest]
[Row(1), ExpectedException(typeof(FormatException))]
public void test1(int p_Dummy)
{
throw new FormatException();
}
But this test fails on both rows:
[RowTest]
[Row(1), ExpectedException(typeof(FormatException))]
[Row(2), ExpectedException(typeof(FormatException))]
public void test2(int p_Dummy)
{
throw new FormatException();
}
Is this how it's supposed to behave?
Thanks,
Paul Prewett
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---