Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question How to perform clean test?

Discussion in 'Testing & Automation' started by Kalita2127, Mar 2, 2023.

  1. Kalita2127

    Kalita2127

    Joined:
    Dec 6, 2014
    Posts:
    279
    Sometimes I saw additional scenes named "InitTestScene0xxxx" in my git like this.
    Any suggestions on how to clean it after the test is done?
     
  2. keith_126

    keith_126

    Joined:
    Jun 1, 2021
    Posts:
    2
    I'm new to Unity, but I had a two possible suggestions:
    - Use .gitignore to ignore such files.
    - Change the output directory for your tests so that they're not created in your local git repo.

    Good luck!