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

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; using System.Runtime.CompilerServices; namespace NUnit.Framework.Api { [System.Runtime.CompilerServices.NullableContext(1)] public interface ITestAssemblyBuilder { ITest Build(Assembly assembly, IDictionary<string, object> options); ITest Build(string assemblyName, IDictionary<string, object> options); } }