Table of Contents

Class TestContext.TestAdapter

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

TestAdapter adapts a Test for consumption by the user test code.

public class TestContext.TestAdapter
Inheritance
TestContext.TestAdapter
Inherited Members

Constructors

TestAdapter(Test)

Construct a TestAdapter for a Test

public TestAdapter(Test test)

Parameters

test Test

The Test to be adapted

Properties

FullName

The FullName of the test

public string FullName { get; }

Property Value

string

ID

Gets the unique Id of a test

public int ID { get; }

Property Value

int

MethodName

The name of the method representing the test.

public string MethodName { get; }

Property Value

string

Name

The name of the test, which may or may not be the same as the method name.

public string Name { get; }

Property Value

string

Properties

The properties of the test.

public IPropertyBag Properties { get; }

Property Value

IPropertyBag