ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Code Inspection: NUnit. Test case source must be static

Last modified: 21 July 2022

Starting from NUnit 3.x, the TestCaseSource or ValueSource attribute argument representing the name of the source must refer to the static field, property or method. For example: