Search Unity

Run tests from editor script

Discussion in 'Testing & Automation' started by mhgamework, May 13, 2019.

  1. mhgamework

    mhgamework

    Joined:
    Dec 13, 2014
    Posts:
    4
    Is there a way i can access the Unity Test Runner from editor scripts?

    I want to add a button to the unity editor that runs a predifined set of tests. Its behaviour should be the same as selecting the corresponding tests in the Test Runner window and pressing run.

    thanks,

    MH
     
  2. Warnecke

    Warnecke

    Unity Technologies

    Joined:
    Nov 28, 2017
    Posts:
    34
    Hey. It is currently not possible, but we will be releasing a new API that will make it possible to do that. We hope to have that ready in the summer.