I am working on some data driven unit tests which runs fine on VS 2013 but fails on VS 2015. I am using CSV file as my data source. I am not sure whether I am missing any configuration settings. i just followed MSDN article and tried various troubleshooting steps provided by others. No Luck. Any suggestions.
Test settings
1) CSV file properties - Build action set to content. Copy to o/p directory - copy always
2) Added the CSV file to deployment section of test settings
Code:
[TestMethod]
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "TaxYears.csv", "TaxYears#csv", DataAccessMethod.Sequential)]
public void TestMethod_1()
{
Thanks in advance for your time and help
Aucun commentaire:
Enregistrer un commentaire