Created
May 6, 2018 18:37
-
-
Save angelovstanton/1b86a3e98d9b9c4f71e379ec561258e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "TestsData.csv", "TestsData#csv", DataAccessMethod.Sequential)] | |
[TestMethod] | |
public void DataDrivenTest() | |
{ | |
int valueA = Convert.ToInt32(this.TestContext.DataRow["valueA"]); | |
int valueB = Convert.ToInt32(this.TestContext.DataRow["valueB"]); | |
int expected = Convert.ToInt32(this.TestContext.DataRow["expectedResult"]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment