public override IEnumerable <object[]> GetData(MethodInfo testMethod) { var testFiles = TestResources.GetAllFiles(); foreach (var testFile in testFiles) { using (var reader = new NonFileReader(testFile)) { var(rows, columns) = reader.Read(); yield return(new object[] { rows, columns }); } } }