Interface ICallbacks
Callbacks in the Test
Namespace: UnityEditor .TestTools .TestRunner .Api
Assembly: UnityEditor.TestRunner.dll
Syntax
public interface ICallbacks
Methods
RunFinished(ITestResultAdaptor)
A callback invoked when a test run is finished.
Declaration
void RunFinished(ITestResultAdaptor result)
Parameters
Type | Name | Description |
---|---|---|
ITest |
result | The result of the test run. |
RunStarted(ITestAdaptor)
A callback invoked when a test run is started.
Declaration
void RunStarted(ITestAdaptor testsToRun)
Parameters
Type | Name | Description |
---|---|---|
ITest |
testsToRun | The full loaded test tree. |
TestFinished(ITestResultAdaptor)
A callback invoked when each individual node of the test tree has finished executing.
Declaration
void TestFinished(ITestResultAdaptor result)
Parameters
Type | Name | Description |
---|---|---|
ITest |
result | The result of the test tree node after it had been executed. |
TestStarted(ITestAdaptor)
A callback invoked when each individual node of the test tree has started executing.
Declaration
void TestStarted(ITestAdaptor test)
Parameters
Type | Name | Description |
---|---|---|
ITest |
test | The test node currently executed. |