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

ITestBuilder

public interface ITestBuilder
The ITestBuilder interface is exposed by a class that knows how to build one or more TestMethods from a MethodInfo. In general, it is exposed by an attribute, which has additional information available to provide the necessary test parameters to distinguish the test cases built.
using NUnit.Framework.Internal; using System.Collections.Generic; namespace NUnit.Framework.Interfaces { public interface ITestBuilder { IEnumerable<TestMethod> BuildFrom(IMethodInfo method, Test suite); } }