Actually, I would like to know how can I transfer existing TestMethodDecoratorAttributes (ExpectedExceptionAttribute and MultipleAssertsAttribute) from a statically compiled test method to a dynamically created one. Transferring ExpectedExceptionAttribute seems to be easy, since it appears to be just an instance of "ExpectedException" metadata. But MultipleAssertsAttribute is not.
On Aug 20, 12:04 am, Mark Kharitonov <[email protected]> wrote: > Hi. > > I have dynamically generated test cases from a static test factory. > Each generated test case delegates to some statically compiled test > method in another test fixture, passing particular parameters. If the > wrapped test method is attributed with ExpectedException, how can I > decorate the generated dynamic test case in the same way? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
