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

CommandBuilder

public static class CommandBuilder
A utility class to create TestCommands
public static List<SetUpTearDownItem> BuildSetUpTearDownList(Type fixtureType, Type setUpType, Type tearDownType)

Builds the set up tear down list.

Gets the command to be executed before any of the child tests are run.

public static TestCommand MakeOneTimeTearDownCommand(TestSuite suite, List<SetUpTearDownItem> setUpTearDownItems, List<TestActionItem> actions)

Gets the command to be executed after all of the child tests are run.

public static SkipCommand MakeSkipCommand(Test test)

Creates a command for skipping a test. The result returned will depend on the test RunState.

Creates a test command for use in running this test.