<PackageReference Include="NUnit" Version="3.4.0" />

TestParameters

public class TestParameters
TestParameters class holds any named parameters supplied to the test run
public int Count { get; }

Gets the number of test parameters

public string this[string name] { get; }

Indexer provides access to the internal dictionary

public ICollection<string> Names { get; }

Gets a collection of the test parameter names

public TestParameters()

public bool Exists(string name)

Gets a flag indicating whether a parameter with the specified name exists.N

public string Get(string name)

Get method is a simple alternative to the indexer

public string Get(string name, string defaultValue)

Get the value of a parameter or a default string

public T Get<T>(string name, T defaultValue)

Get the value of a parameter or return a default