XCTest XML results¶
Learn more about exporting your test results into a xml file here.
Download our example file here: example-xctest-report.plist.xml
A report will have one or more TestableSummaries.
TestableSummarieswe iterate over the array and define each TestableSummary within as a container
A Test will be read as a container with one or more Sub Test(s).
Subtestswe iterate over the array and define each Subtest within as a container
A Sub Test will be read as a container within a container, with one or more Sub Test.
TestNameif present stored as title
TestIdentifieradded and stored to/as description
ProjectPathadded and stored to/as description
TargetNameadded and stored to/as description
TestObjectClassadded and stored to/as description
Durationstored as cached_duration
TestStatusif present, we add an Activity Summary to the container
We generate extra data through the Activity Summary. This will be added to parent result.
Titleused to generate data and partially stored as exception_backtrace
SubActivitiesif present, used recursively to generate more data through the Activity Summary