Is there a NUnit TestCaseAttribute equivalent in Visual Studio 2008 unit test framework ?
You know something like this:
[TestCase(1, 1, 1)] [TestCase(2, 2, 2)] [TestCase(3, 3, 3)] public void Test1(int a, int b, int c) { // do stuff depending on the TestCase }
MSTest, unfortunately, does not support parameterized tests in this way. The DataSource attribute closest to you , which allows you to specify the external data source for the test method.
Source: https://habr.com/ru/post/1736173/More articles:postback programmatically from iframe to parent page - .netВыберите правильный путь для файлов из App Under IIS - asp.netSetting a panel in the center of the screen using a layout - javaПоиск SQL-запроса для получения последней связанной даты для каждой группы - sqlНовый уровень презентации для веб-приложений - asp.net-mvcMailbox restriction when sending mailto: form - browserSql server. Bidirectional column detection of an XML type column. - xml"Click" button of the program from the application that I create - c #Change where Java is looking for javac.exe - javaPassing structures with a pointer in C89 - cAll Articles