Code inspection: NUnit. Test case source must be static.

Last modified: 11 February 2024

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: