You need to copy the metadata for each test case.  Metadata is not
inherited.

Incidentally, Yann and I were discussing refactoring some parts of MbUnit to
make static and dynamic tests more similar.  It should simplify stuff like
this but I don't have a timeline for when the work will be done.

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Mark Kharitonov
Sent: Friday, October 30, 2009 12:17 PM
To: MbUnit.User
Subject: MbUnit Does the Metadata of a TestSuite propagate to the contained
TestCases?


Hi.
I am creating a dynamic combinatorial test based on an existing statically
compiled test method, which may be attributed with several instances of the
MetadataAttribute.
The way I do it is create a TestSuite and then add a child TestCase per each
combination. I also must preserve the metadata of the original test method.
My question is this - do I have to copy the metadata and attach it to each
and every generated TestCase or is it sufficient to set the TestSuite
metadata and it will propagate to the individual TestCases?

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to