Class DebugUITestFixture
Use this class instead of UITestFixture
to keep an EditorWindow visible while developing or debugging tests.
Inheritance
DebugUITestFixture
Inherited Members
Namespace: UnityEditor.UIElements.TestFramework
Assembly: Unity.UI.TestFramework.Editor.dll
Syntax
[InitializeOnLoad]
public abstract class DebugUITestFixture : EditorWindowUITestFixture<EditorWindow>
Constructors
DebugUITestFixture()
Instantiates an EditorWindow test fixture.
Sets debugMode to true.
Declaration
protected DebugUITestFixture()
Remarks
Use the simulate property to access the UIToolkit panel.
Methods
FixtureSetUp()
Sets up the test state.
Declaration
public override void FixtureSetUp()
Overrides
FixtureTearDown()
Tears down the test state.
If a test fails, the EditorWindow is left open to facilitate debugging.
Declaration
public override void FixtureTearDown()