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

Running Unity Independent Unit Tests in Visual Studio

Discussion in 'Testing & Automation' started by GeraldLang, Sep 23, 2021.

  1. GeraldLang

    GeraldLang

    Joined:
    Jun 29, 2021
    Posts:
    1
    Is there a way to run unit tests (edit mode tests) that are not dependent on UnityEngine/UnityEditor in Visual Studio?

    Visual studio 2019 finds my tests in the Test Explorer, I have installed the NUnit 3 Test Adapter extension as suggested elsewhere. However when running the tests, it just shows that tests are "Not run", no other feedback as far as I can tell.
     
  2. unity_146820BF26AE97E219E3

    unity_146820BF26AE97E219E3

    Joined:
    Oct 5, 2022
    Posts:
    5