[TestMethod()] [DeploymentItem("test.xlsx")] [DataSource("System.Data.Odbc", @"Dsn=Excel Files;Driver=Microsoft Excel Driver (*.xlsx)};DriverId=790;Dbq=. est.xlsx", "Sheet1$", Microsoft.VisualStudio.TestTools.UnitTesting.DataAccessMethod.Sequential)] public void MyTestMethod2()