Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. 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:
    265
    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!