Search Unity

Standalone TestRunner Split Build And Run, output results xml

Discussion in 'Testing & Automation' started by patrickreece, Sep 27, 2021.

  1. patrickreece

    patrickreece

    Joined:
    Nov 14, 2019
    Posts:
    23
    Hi,

    There is this nice page giving some code examples on outputting the building of a standalone TestRunner executable. https://docs.unity3d.com/Packages/c...tml#split-build-and-run-for-player-mode-tests

    I have not yet found a way to get xml results from the built executable, particularly on Android and iOS devices. You can create an ICallback https://docs.unity3d.com/Packages/com.unity.test-framework@1.1/manual/reference-icallbacks.html but that is an editor script that may not be included in the built standalone.

    Is there a way to generate a results xml file without having the Unity Editor attached to the standalone TestRunner executable?
     
  2. Warnecke

    Warnecke

    Unity Technologies

    Joined:
    Nov 28, 2017
    Posts:
    92
  3. patrickreece

    patrickreece

    Joined:
    Nov 14, 2019
    Posts:
    23
    Thank you for the prompt reply! That's perfect.