xunit_directive - parse an xUnit XML file into the ResultYAML format

New in version 0.4.14.

Parse test ouput in XML xUnit format and generate ResultYAML.

Note

The input xUnit file is set as an artifact in the output ResultYAML result, therefore it’s recommended that you place it inside ${artifactsdir}.

Parameters

Parameter Required Description Type Default Choices

aggregation

no

type of result aggregation: allpass will aggregate testcases into a single result with outcome PASSED if all testcases passed, otherwise FAILED. none means no aggregation and all testcases will be reported as separate results.

str

allpass

  • allpass

  • none

checkname

yes

Test case identification

str

    file

    yes

    xUnit XML file path to be parsed, either absolute or relative to task directory

    str

      item

      yes

      Item of the task, as provided by Taskotron runner

      str

        type

        yes

        Item type of the task, as provided by Taskotron runner

        str


          Return Values

          check result(s) in the ResultYAML format

          Exceptions