<PackageReference Include="NUnit" Version="3.13.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 assemblyNameOrPath)

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

public TestAssembly(string assemblyNameOrPath)

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)

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