简体   繁体   中英

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?

Unfortunately I have to port my tests to VS.

Dragged screeching and screaming into 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

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM