docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IPostbuildCleanupWithTestData

    Implement this interface if you want to define a set of actions to execute as a post-build step. Cleanup runs right away for a standalone test run, but only after all the tests run within the Editor.

    Namespace: UnityEngine.TestTools
    Assembly: UnityEngine.TestRunner.dll
    Syntax
    public interface IPostbuildCleanupWithTestData

    Methods

    Cleanup(TestData)

    The code that will run as a post-build cleanup step.

    Declaration
    void Cleanup(TestData testData)
    Parameters
    Type Name Description
    TestData testData

    The test data associated with the test run that just completed.

    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)