TestContext.

TestContext.TestAdapter Class

Summary

TestAdapter adapts a Test for consumption by the user test code.
Namespace
TCLite
Base Types
  • object
graph BT Type-->Base0["object"] Type["TestContext.TestAdapter"] class Type type-node

Syntax

public class TestContext.TestAdapter

Constructors

Name Summary
TestAdapter(Test) Construct a TestAdapter for a Test

Properties

Name Value Summary
Arguments object[]
The arguments to use in creating the test or empty array if none are required.
Categories IEnumerable<string>
ClassName string
The ClassName of the test
Description string
FullName string
The FullName of the test
ID string
Gets the unique Id of a test
MethodName string
The name of the method representing the test.
Name string
The name of the test, which may or may not be the same as the method name.
Parent TestContext.TestAdapter
Properties TestContext.PropertyBagAdapter
A shallow copy of the properties of the test.