tags:

views:

16

answers:

1

I tried to run the example from the following link http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.expectedexceptionattribute.aspx expecting the test to pass, but the test is failing with the same error. Is there something I am missing? Thanks,

A: 

Check this SO question http://stackoverflow.com/questions/846056/c-testing-why-does-expectedexception-tagged-method-pass-when-exception-not-th about the same issue with Silverligth unit test framework and expected exceptions

slamidtfyn