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

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 it's arguments

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

Get the display name for a TestMethod and it's arguments