Search code examples
silverlightunit-testingvisual-studio-2010silverlight-4.0silverlight-toolkit

When to use the TestProperty-Attribute in the Silverlight Unit Test Framework?


The other Attributes (aka. TestMethod, ExpectedException, etc.) I know where and when to use, but I don´t know what I can do with the TestProperty-Attribute.

Why should I use it and when? Whats the reason for this attribute?

I found no useful documentation on the Internet, that explains the TestProperty-Attribute. And intellisense doesn´t provide useful information. The documentation of the Toolkit provides no documentation for the Unit Test Framework?


Solution

  • The documentation at MSDN may be of some help. A usage example is given in which the unit tests reads some custom attributes set using the [TestProperty] tag.