Unity Test Framework manual | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Unity Test Framework manual

    This is the manual for the Unity Test Framework:

    Introduction

    • Unity Test Framework overview
    • Edit Mode vs. Play Mode tests

    Getting started

    • Getting started with UTF
      • Workflows:
        • How to create a new test assembly
        • How to create a test
        • How to run a test
        • How to create a Play Mode test
        • How to run a Play Mode test as standalone
    • Resources

    Reference

    • Running tests from the command-line
    • UnityTest attribute
    • Setup and cleanup at build time
      • IPrebuildSetup
      • IPostBuildCleanup
    • Actions outside of tests
      • Action execution order
      • UnitySetUp and UnityTearDown
      • OuterUnityTestAction
      • Domain Reloads
    • Custom attributes
      • ConditionalIgnore attribute
      • PostBuildCleanup attribute
      • PrebuildSetup attribute
      • TestMustExpectAllLogs attribute
      • TestPlayerBuildModifier attribute
      • TestRunCallback attribute
      • UnityPlatform attribute
      • UnitySetUp attribute
      • UnityTearDown attribute
      • UnityTest attribute
    • Custom equality comparers
      • ColorEqualityComparer
      • FloatEqualityComparer
      • QuaternionEqualityComparer
      • Vector2EqualityComparer
      • Vector3EqualityComparer
      • Vector4EqualityComparer
      • Custom equality comparers with equals operator
      • Test Utils
    • Custom yield instructions
      • IEditModeTestYieldInstruction
      • EnterPlayMode
      • ExitPlayMode
    • Custom assertion
      • LogAssert
    • Custom constraints
      • Is
    • Parameterized tests
    • MonoBehaviour tests
      • MonoBehaviourTest<T>
      • IMonoBehaviourTest
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX