JetBrains Rider 2020.2 Help

Code Inspection: NUnit. Parameters without provided values in test method

If you write parameterized NUnit tests, you must provide data values for each test parameter. There are different ways in which you can specify data values, which are described in the Parameterized Tests section of the NUnit documentation.

[Test] // No values for parameter 'x' public void MyTest(int x) { // do something }
[Test] // Test will be executed with 'x = 10' public void MyTest([Values(10)] int x) { // do something }
Last modified: 20 May 2020