Interface ITestAdaptor
ITestAdaptor
is a representation of a node in the test tree implemented as a wrapper around the NUnit ITest interface.
Namespace: UnityEditor .TestTools .TestRunner .Api
Assembly: solution.dll
Syntax
public interface ITestAdaptor
Properties
Name | Description |
---|---|
Arguments | The array of arguments that the test method/fixture will be invoked with. |
Categories | An array of the categories applied to the test or fixture. |
Child |
The child index of the node in its parent. |
Children | The child nodes. |
Description | The description of the test. |
Full |
The full name of the test. E.g., |
Has |
Whether the node has any children. |
Id | The ID of the test tree node. The ID can change if you add new tests to the suite. Use UniqueName, if you want to have a more permanent point of reference. |
Is |
True if the node is a test suite/fixture, false otherwise. |
Is |
Returns true if the node represents a test assembly, false otherwise. |
Method | The Nunit IMethodInfo of the test method. If the node is not a test method, then the value is null. |
Name | The name of the test. E.g., |
Parent | The parent node, if any. |
Parent |
The full name of the parent node. |
Parent |
The ID of the parent node. |
Parent |
A unique name of the parent node. E.g., |
Run |
The run state of the test node. Either |
Skip |
The skip reason. E.g., if ignoring the test. |
Test |
The total number of test cases in the node and all sub-nodes. |
Test |
The test case timeout in milliseconds. Note that this value is only available on TestFinished. |
Test |
The mode of the test. Either Edit Mode or Play Mode. |
Type |
The type of test class as an |
Unique |
A unique generated name for the test node. E.g., |