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

Augment NUnit1001 to recognized and check generic TestCase attributes #767

Closed
manfred-brands opened this issue Jul 11, 2024 · 0 comments · Fixed by #773
Closed

Augment NUnit1001 to recognized and check generic TestCase attributes #767

manfred-brands opened this issue Jul 11, 2024 · 0 comments · Fixed by #773
Assignees
Milestone

Comments

@manfred-brands
Copy link
Member

nunit/nunit#4632 added support for generic test case parameters:

NUnit1001 detects if TestCase arguments don't match parameters.

[TestCase(1)]
public void SomeTest(string s)
{
}

This has to be augmented to support generic versions:

[TestCase<double>(1)]
public void SomeTest(string s)
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants