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

TestNameGenerator

public class TestNameGenerator
TestNameGenerator is able to create test names according to a coded pattern.
public static string DefaultTestNamePattern

Default pattern used to generate names

Construct a TestNameGenerator

public TestNameGenerator(string pattern)

Construct a TestNameGenerator

public string GetDisplayName(TestMethod testMethod)

Get the display name for a TestMethod and its arguments

public string GetDisplayName(TestMethod testMethod, object[] args)

Get the display name for a TestMethod and its arguments