docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TestData

    Represents a test run configuration. This record holds information about the test run environment and the tests to be executed.

    Inheritance
    object
    TestData
    Implements
    IEquatable<TestData>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.TestTools
    Assembly: UnityEngine.TestRunner.dll
    Syntax
    public record TestData : IEquatable<TestData>

    Constructors

    TestData(TestMode, RuntimePlatform, IEnumerable<ITest>)

    Represents a test run configuration. This record holds information about the test run environment and the tests to be executed.

    Declaration
    public TestData(TestMode TestMode, RuntimePlatform TestPlatform, IEnumerable<ITest> TestList)
    Parameters
    Type Name Description
    TestMode TestMode

    The Test Mode for this test run.

    RuntimePlatform TestPlatform

    The Test Platform for this test run.

    IEnumerable<ITest> TestList

    The list of tests to be executed.

    Properties

    TestList

    The list of tests to be executed.

    Declaration
    public IEnumerable<ITest> TestList { get; init; }
    Property Value
    Type Description
    IEnumerable<ITest>

    TestMode

    The Test Mode for this test run.

    Declaration
    public TestMode TestMode { get; init; }
    Property Value
    Type Description
    TestMode

    TestPlatform

    The Test Platform for this test run.

    Declaration
    public RuntimePlatform TestPlatform { get; init; }
    Property Value
    Type Description
    RuntimePlatform

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 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)