MethodDataSourceAttribute as Parameter Attribute Just like MatrixAttribute #1479
ArchiDog1998
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Well, I really love Matrix attribute, so I can create a code like this
And the TUnit will create 4 * 5 = 20 tests.
But for the case that I wanna create the tests data by a method.
Is that possible to make MethodDataSourceAttribute can be tagged on the parameter. So the code can be like this, and have the same result as the above?
Well I hope the
DataSourceGeneratorAttribute
can be used on the parameter, too!Beta Was this translation helpful? Give feedback.
All reactions