unit-testing - 如何为 MS Test 创建自定义属性?

标签 unit-testing mstest

如果要为 MS 测试创建自定义属性(例如 [Repeat(3)]
你会怎么做?

最佳答案

我认为您不会喜欢这个答案:没有支持的方式。但是,有一个 codeplex 项目 MSTestExtensions实现变通方法和 blog post关于 MSTestExtensions 如何工作。 (使用 ContextBoundObject)

关于unit-testing - 如何为 MS Test 创建自定义属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/114478/

相关文章:

c# - 有没有办法*防止* ReSharper 并行运行程序集的单元测试?

c# - 在单元测试中正确使用最小起订量

unit-testing - 按特征在命令提示符下运行 MS 单元测试

c# - 我可以根据项目自动将测试分配到测试列表吗?

visual-studio-2008 - 在 Mono 中运行 Visual Studio 2008 C#(基于 MSTest.exe)单元测试

unit-testing - 在 meteor 下用 Mocha/Chai 测试时 Vue $el 未定义

c++ - 单元测试时从哪里加载 stub 数据

node.js - Node 单元测试 - TypeError : Cannot read property 'order' of undefined

mstest - 如何在 VS 2013/MSTest 中启用执行进程日志

visual-studio-2010 - 如何在没有事件远程 session 的情况下运行编码的 UI 测试思想 TFS CI?