<PackageReference Include="NUnit" Version="3.0.0-alpha" />

NUnitTestFixtureBuilder

NUnitTestFixtureBuilder is able to build a fixture given a class marked with a TestFixtureAttribute or an unmarked class containing test methods. In the first case, it is called by the attribute and in the second directly by NUnitSuiteBuilder.

public TestSuite BuildFrom(Type type)

Build a TestFixture from type provided. A non-null TestSuite must always be returned, since the method is generally called because the user has marked the target class as a fixture. If something prevents the fixture from being used, it should be returned nonetheless, labelled as non-runnable.

Overload of BuildFrom called by TestFixtureAttribute. Builds a fixture using the provided type and information in the properties of the attribute.