开发者

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

开发者 https://www.devze.com 2023-01-07 01:57 出处:网络
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.

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 documentat开发者_如何学运维ion of the Toolkit provides no documentation for the Unit Test Framework?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号