nunit/nunit.analyzers

Augment NUnit1001 to recognized and check generic TestCase attributes

Closed this issue · 0 comments

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)
{
}