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.

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