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

CompositeWorkItem

public class CompositeWorkItem : WorkItem
A CompositeWorkItem represents a test suite and encapsulates the execution of the suite as well as all its child tests.

OneTimeTearDownWorkItem represents the cleanup and one-time teardown phase of a CompositeWorkItem

public List<WorkItem> Children { get; }

List of Child WorkItems

public CompositeWorkItem(TestSuite suite, ITestFilter childFilter)

Construct a CompositeWorkItem for executing a test suite using a filter to select child tests.