Search Unity

Editor Test Runner API?

Discussion in 'Editor & General Support' started by Jagwire, Feb 9, 2016.

  1. Jagwire

    Jagwire

    Joined:
    Dec 5, 2013
    Posts:
    59
    Is there an API for the Editor Test Runner? Something similar akin to the BuildPipeline class but for test classes instead...

    best regards!
     
  2. Jagwire

    Jagwire

    Joined:
    Dec 5, 2013
    Posts:
    59
    Anything?
     
  3. Tomek-Paszek

    Tomek-Paszek

    Unity Technologies

    Joined:
    Nov 13, 2012
    Posts:
    116
    Hi Jagwire!
    There is an API but it was exposed only in 5.4. If you need to use it now, you can try reflecting UnityEditor.EditorTestsRunner.Batch class.
     
unityunity