I want to parse and get all the details related to my UI tests from xcresult file. Before Xcode 11, I can achieve this by reading the TestSummaries.plist file. But Apple has changed the xcresult format from Xcode 11.
I found this on google. But seems like it can only extract the screenshots from the xcresult bundle. I want to extract all details like, start/end times, action/activities times, code coverage details and logs etc.
Apple itself provide xcresulttool command line tool to see the xcresults in a human readable format. But it also does not gives all the needed information.
I saw about XCTestObservation & XCTestRun to build my own test observer but can't find any workable sample in the internet. Am I missing something? Did anyone throw some help on this?
XCTestHTMLReport has helped me to obtain beautiful HTML report with screenshots.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With