A game about forced loneliness, made by TACStudios
1using System; 2using NUnit.Framework.Interfaces; 3 4namespace UnityEngine.TestRunner 5{ 6 /// <summary> 7 /// 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 <see cref="TestRunCallbackAttribute"/>. 8 /// </summary> 9 public interface ITestRunCallback 10 { 11 /// <summary> 12 /// A callback invoked when a test run is started. 13 /// </summary> 14 /// <param name="testsToRun">The full loaded test tree.</param> 15 void RunStarted(ITest testsToRun); 16 /// <summary> 17 /// A callback invoked when a test run is finished. 18 /// </summary> 19 /// <param name="testResults">The result of the test run.</param> 20 void RunFinished(ITestResult testResults); 21 /// <summary> 22 /// A callback invoked when each individual node of the test tree has started executing. 23 /// </summary> 24 /// <param name="test">The test node currently executed.</param> 25 void TestStarted(ITest test); 26 /// <summary> 27 /// A callback invoked when each individual node of the test tree has finished executing. 28 /// </summary> 29 /// <param name="result">The result of the test tree node after it had been executed.</param> 30 void TestFinished(ITestResult result); 31 } 32}