RowTest test in Visual Studio?

Is there something similar to mbUnit RowTest in Visual Studio tests. I wanted to be able to run the same test using different inputs and expected results.

I wanted to avoid using test frameworks, because at the moment I need very small and simple tests.

+3
source share
1 answer

You can apply the [DataSource] attribute to have a test run several times based on the rows in the data source (which can be a database table, query, xml file, csv file).

Details here:

http://msdn.microsoft.com/en-us/library/ms182527(VS.80).aspx

, String Data Connection ..., , [DataSource] .

+3

Source: https://habr.com/ru/post/1728249/


All Articles