Using Visual Studio Test Suite, is there a way to make a single unit test behave and give results as if it were several tests?
I would like to have a test for each set of input parameters I will provide. But I’d rather have all the varieties of input be data-driven, rather than having to write a seperate test for each one.
This question is similar to this one except that (1) I’m not using NUnit and (2) I might prefer my test data comes from a file (a file having data representing many tests).
MSTest doesn’t have the RowTest as in other xUnit frameworks. However it does seem to have a feature for data-driven tests (that get their data from a DB/Xml/Csv file.) Its a case of simple things aren’t possible… complex things are.
Actually this question might be a dupe of
MSTest Equivalent for NUnit's Parameterized Tests?
How to RowTest with MSTest?