c# - How do test all combinations of parameters in DataRows ...
stackoverflow.com › questions › 70359659Dec 15, 2021 · This tests against all combinations of a, b, & c equaling 0 or 1. Just two values in three parameters and it takes 8 DataRow lines! What I'd really love to do is something like this: [TestMethod] [DataMatrix ( {0,1}, {0,1}, {0,1} )] public void ReallyCoolTest ( int a, int b, int c ) { // some really cool test code that uses a, b, and c }