【问题标题】:How to run test case with data from property in MSTest?如何使用 MSTest 中的属性数据运行测试用例?
【发布时间】:2016-04-11 08:29:09
【问题描述】:

MSTest 中是否存在 NUnit [Test, TestCaseSource("PropertyName")]xUnit [Theory, PropertyData("PropertyName")] 的类似物?

【问题讨论】:

    标签: .net unit-testing mstest data-driven-tests


    【解决方案1】:

    【讨论】:

    • DataSource 是否提供与某种 IEnumerable 属性的连接?
    猜你喜欢
    • 2012-11-14
    • 2012-01-13
    • 2013-02-05
    • 1970-01-01
    • 2021-01-31
    • 2010-09-25
    • 2011-02-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多