Skip to content

xUnit XML results

Learn more about exporting your test results into a xml file here.

Example file

Download example file: example-xunit-report.xml

Assemblies

Assemblies will be read as a report with one or more containers(s).

  • timestamp stored as date
  • assembly we iterate over the array and define each assembly within as a container

Assembly

An Assembly will be read as a container with one or more result(s).

  • name stored as title
  • config_file stored as title and added to description
  • errors stored as xunit_errors
  • test we iterate over the array and define each test within as a result

Collection

An Collection will be read as a result based on a Test or an Error.

Test

  • name stored as title
  • type stored as title if name is absent
  • method stored as exception_name
  • time stored as duration
  • result stored as status
  • reason stored as exception_backtrace
  • traits stored as json_data

Error

  • name stored as title
  • type stored as title if name is absent and stored as exception_name
  • failure.message stored as description
  • failure.exception-type stored as exception_description
  • failure.stack-trace stored as exception_backtrace
  • broken stored as status