Table of Contents

Class TestAssembly

Namespace
NUnit.Framework.Internal
Assembly
nunit.framework.dll

TestAssembly is a TestSuite that represents the execution of tests in a managed assembly.

public class TestAssembly : TestSuite, ITest, IXmlNodeBuilder, IComparable
Inheritance
TestAssembly
Implements
Inherited Members

Constructors

TestAssembly(Assembly, string)

Initializes a new instance of the TestAssembly class specifying the Assembly and the path from which it was loaded.

public TestAssembly(Assembly assembly, string path)

Parameters

assembly Assembly

The assembly this test represents.

path string

The path used to load the assembly.

TestAssembly(string)

Initializes a new instance of the TestAssembly class for a path which could not be loaded.

public TestAssembly(string path)

Parameters

path string

The path used to load the assembly.

Properties

Assembly

Gets the Assembly represented by this instance.

public Assembly Assembly { get; }

Property Value

Assembly

TestType

Gets the name used for the top-level element in the XML representation of this test

public override string TestType { get; }

Property Value

string