[英]Is there something similar to NUnit's [Combinatorial] for MS Visual Studio test?
Is there something similar to NUnit's [Combinatorial] and [Sequential] for MS Visual Studio Test? 有没有类似于NUnit的[Combinatorial]和[Sequential]的MS Visual Studio测试?
Unfortunately I have to port my tests to VS. 不幸的是我必须将我的测试移植到VS.
Dragged screeching and screaming into MSTests? 拖着尖叫和尖叫进入MSTests? I hope at least you can express how unhappy you are about the prospect of sub-par tools.
我希望至少你能表达出对低于标准工具前景的不满。
There may be a sliver of hope though since there is a concept called data-driven tests which may be able to help you. 可能有一丝希望,因为有一个称为数据驱动测试的概念可能能够帮助你。 By using a datasource you can send multiple values to a test, through the use of a DataSourceAttribute so you could theorically pipe your NUnit tests values into a datasource that would be then be consumed by your MSTest tests
通过使用数据源,您可以发送多个值测试,通过使用的DataSourceAttribute所以你可以theorically管你NUnit的测试值到将被然后通过你的MSTest的测试消耗数据源
Good luck! 祝好运!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.