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

TestSuite

public class TestSuite : Test
TestSuite represents a composite test, which contains other tests.
protected bool MaintainTestOrder { get; protected set; }

Set to true to suppress sorting this suite's contents

public IMethodInfo[] OneTimeSetUpMethods { get; protected set; }

OneTimeSetUp methods for this suite

public IMethodInfo[] OneTimeTearDownMethods { get; protected set; }

OneTimeTearDown methods for this suite

public TestSuite(string name)

Initializes a new instance of the TestSuite class.

public TestSuite(string parentSuiteName, string name)

Initializes a new instance of the TestSuite class.

public TestSuite(ITypeInfo fixtureType, object[] arguments = null)

Initializes a new instance of the TestSuite class.

public TestSuite(Type fixtureType)

Initializes a new instance of the TestSuite class.

public TestSuite(TestSuite suite, ITestFilter filter)

Creates a copy of the given suite with only the descendants that pass the specified filter.

public void Add(Test test)

Adds a test to the suite.

protected void CheckSetUpTearDownMethods(IMethodInfo[] methods)

Check that setup and teardown methods marked by certain attributes meet NUnit's requirements and mark the tests not runnable otherwise.

public virtual TestSuite Copy(ITestFilter filter)

Creates a filtered copy of the test suite.

public void Sort()

Sorts tests under this suite.