Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Resolved Possible to output Test Runner results to an XML from the Editor?

Discussion in 'Testing & Automation' started by gtzpower, Jun 25, 2019.

  1. gtzpower

    gtzpower

    Joined:
    Jan 23, 2011
    Posts:
    247
    Hi everyone, we would like our development team to run the Unity tests in the editor and have the results written to an XML for check-in and review during a pull request. Is there any way to make the results write to an XML when running directly from the editor (shy of writing an editor script that adds a menu item in Unity to run a command line task to execute the tests)?
     
  2. Warnecke

    Warnecke

    Unity Technologies

    Joined:
    Nov 28, 2017
    Posts:
    40
    Not currently, but we are soon exposing an api for the test framework that would allow this.
     
    Stormy102 and liortal like this.
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,257
    @Warnecke we recently upgraded to Unity 2018.4 (LTS). are you planning to backport some of these features to older versions? or will we have them only in the latest and greatest ? (e.g: 2019.x)
     
  4. Warnecke

    Warnecke

    Unity Technologies

    Joined:
    Nov 28, 2017
    Posts:
    40
    Hey. The test runner api will only be available in the package version of the test-framework. So that means 2019.2 and forward.