ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Code inspection: NUnit. Redundant argument in TestCase attribute.

Last modified: 11 February 2024

This inspection notifies you that according to the test method signature, an argument in the [TestCase] attribute is redundant.

Although a redundant argument will be ignored during test execution, it is a good idea to remove it to reduce the chances of unexpected behavior if you decide to modify the method in the future.