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

DefaultSuiteBuilder

Built-in SuiteBuilder for all types of test classes.

public TestSuite BuildFrom(ITypeInfo typeInfo)

Builds a single test suite from the specified type.

public TestSuite BuildFrom(ITypeInfo typeInfo, IPreFilter filter)

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

public 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.