How to run XUnit test using data from a CSV file
问题 Is there a way to run a data driven XUnit test using a CSV file as the data source? I've tried Cavity.Data.XUnit , but it's no longer compatible with the newest version of XUnit . So far, I've only been able to achieve this using Excel files, but I need to change them to CSV instead. Any help is greatly appreciated. An example: [Theory] [ExcelData(@"Settings\TestFileParam.xls", "Select url, username, password, from TestData")] //^Replace with a CSV file instead public void Tester_Method