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

ITestBuilder

public interface ITestBuilder
The ITestBuilder interface is exposed by a class that knows how to build tests from a specified method. 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; using System.Runtime.CompilerServices; namespace NUnit.Framework.Interfaces { [NullableContext(1)] public interface ITestBuilder { IEnumerable<TestMethod> BuildFrom(IMethodInfo method, [Nullable(2)] Test suite); } }