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

NUnit.Framework.Internal.TestNameGenerator

public class TestNameGenerator
TestNameGenerator is able to create test names according to a coded pattern.
namespace NUnit.Framework.Internal { public class TestNameGenerator { public static string DefaultTestNamePattern; public TestNameGenerator(); public TestNameGenerator(string pattern); public string GetDisplayName(TestMethod testMethod); public string GetDisplayName(TestMethod testMethod, object[] args); } }