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

NUnit.Framework.Api.NUnitTestAssemblyRunner

Implementation of ITestAssemblyRunner
namespace NUnit.Framework.Api { public class NUnitTestAssemblyRunner : ITestAssemblyRunner { public static int DefaultLevelOfParallelism { get; } public ITest LoadedTest { get; } public ITestResult Result { get; } public bool IsTestLoaded { get; } public bool IsTestRunning { get; } public bool IsTestComplete { get; } public NUnitTestAssemblyRunner(ITestAssemblyBuilder builder); public ITest Load(string assemblyNameOrPath, IDictionary<string, object> settings); public ITest Load(Assembly assembly, IDictionary<string, object> settings); public int CountTestCases(ITestFilter filter); public ITest ExploreTests(ITestFilter filter); public ITestResult Run(ITestListener listener, ITestFilter filter); public void RunAsync(ITestListener listener, ITestFilter filter); public bool WaitForCompletion(int timeout); public void StopRun(bool force); protected void WrapInNUnitCallContext(Action action); protected T WrapInNUnitCallContext<[Nullable(2)] T>(Func<T> function); } }