docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Field 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.

    Namespace: UnityEditor.TestTools.TestRunner.Api
    Assembly: solution.dll
    Syntax
    [SerializeField]
    public bool runSynchronously
    Returns
    Type Description
    bool

    If true, the call to Execute() will run tests synchronously, guaranteeing that all tests have finished running by the time the call returns.

    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)