3

Is there something similar to NUnit's [Combinatorial] and [Sequential] for MS Visual Studio Test?

Unfortunately I have to port my tests to VS.

Anders Gustafsson
  • 15,837
  • 8
  • 56
  • 114
g.pickardou
  • 32,346
  • 36
  • 123
  • 268
  • 2
    I don't think there are direct equivalents in MSTest. You could however get some tips on how to write parameterized MSTests in the following SO questions, [here](http://stackoverflow.com/q/2367033/650012) and [here](http://stackoverflow.com/q/347535/650012). – Anders Gustafsson Nov 14 '13 at 17:27
  • This is indeed unfortunate... – Dio F Jan 09 '14 at 09:52
  • If I would have to port NUnit test to MS Visual Studio Test I would just change the employer :) why to go from simple to complicated? :) – Pawel Cioch Jan 29 '14 at 21:40

1 Answers1

0

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!

samy
  • 14,832
  • 2
  • 54
  • 82