Namespace UnityEngine.TestRunner
Classes
TestRunCallbackAttribute
An assembly level attribute that indicates that a given type implementing ITestRunCallback should be subscribed to updates on the test progress. You can invoke the callbacks with NUnit ITest
and ITestResult
classes.
At the RunStarted
and RunFinished
methods, the test and test results are for the whole test tree. These methods invoke at each node in the test tree; first with the whole test assembly, then with the test class, and last with the test method.
From these callbacks, it's possible to read the partial or the full results, and to save the XML version of the result for further processing or continuous integration.
Interfaces
ITestRunCallback
Interface for getting callsbacks on test progress directly from NUnit. This is available both in the editor and directly in the runtime. It is registered by using TestRunCallbackAttribute.