Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestCaseSourceAttribute constructor for method with parameters #1765

Closed
oznetmaster opened this issue Aug 23, 2016 · 2 comments
Closed

TestCaseSourceAttribute constructor for method with parameters #1765

oznetmaster opened this issue Aug 23, 2016 · 2 comments

Comments

@oznetmaster
Copy link
Contributor

TestCaseSourceAttribute has a constructor that takes a string with the name of the method/field/property that provides it data, and a constructor that takes type of the source, a string with its name, and parameters if it is a method,

It would be convenient if a constructor that took just the string name of the method and parameters were available as well,

TestCaseSourceAttribute (string sourceName, object[] methodParams)

@CharliePoole
Copy link
Member

Makes sense to me. I made it low priority, but if it's higher for you, feel free to do a PR.

JustinRChou added a commit to JustinRChou/nunit that referenced this issue Oct 11, 2016
Added new constructor for nunit#1765 with test case
JustinRChou added a commit to JustinRChou/nunit that referenced this issue Oct 11, 2016
Changed Test Name and Test Argument Name
JustinRChou added a commit to JustinRChou/nunit that referenced this issue Oct 11, 2016
CharliePoole added a commit that referenced this issue Oct 11, 2016
Added new constructor for #1765 with test case
@CharliePoole
Copy link
Member

Closed by #1831

@ChrisMaddock ChrisMaddock added this to the 3.6 milestone Oct 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants