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

ISuiteBuilder

public interface ISuiteBuilder
The ISuiteBuilder interface is exposed by a class that knows how to build a single test suite from a specified type.

Builds a single test suite from the specified type.

Builds a single test suite from the specified type, subject to a filter that decides which methods are included.

bool CanBuildFrom(ITypeInfo typeInfo)

Examine the type and determine if it is suitable for this builder to use in building a TestSuite. Note that returning false will cause the type to be ignored in loading the tests. If it is desired to load the suite but label it as non-runnable, ignored, etc., then this method must return true.