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.

Question How to perform clean test?

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

  1. Ali_Akbar_Montazeri

    Ali_Akbar_Montazeri

    Joined:
    Dec 6, 2014
    Posts:
    221
    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!