{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class ExecutionSettings | Test Framework | 1.3.9
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ExecutionSettings

    A set of execution settings defining how to run tests, using the TestRunnerApi.

    Inheritance
    object
    ExecutionSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.TestTools.TestRunner.Api
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class ExecutionSettings

    Constructors

    Name Description
    ExecutionSettings(params Filter[])

    Creates an instance with a given set of filters, if any.

    Fields

    Name Description
    filters

    A collection of Filter to execute tests on.

    overloadTestRunSettings

    An instance of ITestRunSettings to set up before running tests on a Player.

    playerHeartbeatTimeout

    The time, in seconds, the editor should wait for heartbeats after starting a test run on a player. This defaults to 10 minutes.

    runSynchronously

    Note that this is only supported for EditMode tests, and that tests which take multiple frames (i.e. [UnityTest] tests, or tests with [UnitySetUp] or [UnityTearDown] scaffolding) will be filtered out.

    Methods

    Name Description
    ToString()

    Implementation of ToString() that builds a string composed of the execution settings.

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