Interface ITestResultAdaptor
The ITestResultAdaptor
is the representation of the test results for 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 ITestResultAdaptor
Properties
Name | Description |
---|---|
Assert |
The number of asserts executed when running the test and all its children. |
Children | Gets the the collection of child results. |
Duration | Gets the elapsed time for running the test in seconds |
End |
Gets or sets the time the test finished running. |
Fail |
The number of test cases that failed when running the test and all its children. |
Full |
Gets the full name of the test result |
Has |
Accessing HasChildren should not force creation of the Children collection in classes implementing this interface. |
Inconclusive |
The number of test cases that were inconclusive when running the test and all its children. |
Message | The message associated with a test failure or with not running the test |
Name | The name of the test node. |
Output | Gets any text output written to this result. |
Pass |
The number of test cases that passed when running the test and all its children. |
Result |
Gets the state of the result as a string. |
Skip |
The number of test cases that were skipped when running the test and all its children. |
Stack |
Any stacktrace associated with an error or failure. Not available in the Compact Framework 1.0. |
Start |
Gets or sets the time the test started running. |
Test | The test details of the test result tree node as a Test |
Test |
Gets the status of the test as an enum. |
Methods
Name | Description |
---|---|
To |
Use this to save the results to an XML file |