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

TestAssembly

public class TestAssembly : TestSuite
TestAssembly is a TestSuite that represents the execution of tests in a managed assembly.
public Assembly Assembly { get; }

Gets the Assembly represented by this instance.

public TestAssembly(Assembly assembly, string name)

Initializes a new instance of the TestAssembly class specifying the Assembly and the suite name.

public TestAssembly(string name)

Initializes a new instance of the TestAssembly class specifying the suite name for an assembly that could not be loaded.

public TestAssembly(TestAssembly assembly, ITestFilter filter)

Copy-constructor style to create a filtered copy of the test assemblies test cases