【问题标题】:When to use the TestProperty-Attribute in the Silverlight Unit Test Framework?何时在 Silverlight 单元测试框架中使用 TestProperty-Attribute?
【发布时间】:2010-07-15 10:33:32
【问题描述】:

其他属性(又名TestMethodExpectedException 等)我知道在何时何地使用,但我不知道我能用TestProperty-属性做什么。

我为什么要使用它以及何时使用它?这个属性的原因是什么?

我在 Internet 上没有找到解释 TestProperty-Attribute 的有用文档。并且智能感知不提供有用的信息。工具包的文档没有提供单元测试框架的文档?

【问题讨论】:

    标签: silverlight unit-testing visual-studio-2010 silverlight-4.0 silverlight-toolkit


    【解决方案1】:

    documentation at MSDN 可能会有所帮助。给出了一个使用示例,其中单元测试读取一些使用 [TestProperty] 标签设置的自定义属性。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-12-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多