docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CustomTestRunCallback

    Inheritance
    object
    CustomTestRunCallback
    Implements
    ITestRunCallback
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Global Namespace
    Assembly: UnityEngine.TestTools.Graphics.dll
    Syntax
    public class CustomTestRunCallback : ITestRunCallback

    Methods

    RunFinished(ITestResult)

    A callback invoked when a test run is finished.

    Declaration
    public void RunFinished(ITestResult testResults)
    Parameters
    Type Name Description
    ITestResult testResults

    The result of the test run.

    RunStarted(ITest)

    A callback invoked when a test run is started.

    Declaration
    public void RunStarted(ITest testsToRun)
    Parameters
    Type Name Description
    ITest testsToRun

    The full loaded test tree.

    TestFinished(ITestResult)

    A callback invoked when each individual node of the test tree has finished executing.

    Declaration
    public void TestFinished(ITestResult result)
    Parameters
    Type Name Description
    ITestResult result

    The result of the test tree node after it had been executed.

    TestStarted(ITest)

    A callback invoked when each individual node of the test tree has started executing.

    Declaration
    public void TestStarted(ITest test)
    Parameters
    Type Name Description
    ITest test

    The test node currently executed.

    Implements

    UnityEngine.TestRunner.ITestRunCallback
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)