Search Unity

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!