XCTest XML results¶
Learn more about exporting your test results into a xml file here.
Example file¶
Download our example file here: example-xctest-report.plist.xml
Report¶
A report will have one or more TestableSummaries.
TestableSummarieswe iterate over the array and define each TestableSummary within as a container
Test¶
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
Sub Test¶
A Sub Test will be read as a container within a container, with one or more Sub Test.
TestNameif present stored as titleTestIdentifieradded and stored to/as descriptionProjectPathadded and stored to/as descriptionTargetNameadded and stored to/as descriptionTestObjectClassadded and stored to/as descriptionDurationstored as cached_durationTestStatusif present, we add an Activity Summary to the container
Activity Summary¶
We generate extra data through the Activity Summary. This will be added to parent result.
Titleused to generate data and partially stored as exception_backtraceSubActivitiesif present, used recursively to generate more data through the Activity Summary