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

ITestAssemblyBuilder

public interface ITestAssemblyBuilder
The ITestAssemblyBuilder interface is implemented by a class that is able to build a suite of tests given an assembly or an assembly filename.
using NUnit.Framework.Interfaces; using System.Collections.Generic; using System.Reflection; namespace NUnit.Framework.Api { public interface ITestAssemblyBuilder { ITest Build(Assembly assembly, IDictionary<string, object> options); ITest Build(string assemblyName, IDictionary<string, object> options); } }