Skip to content

Commit

Permalink
update xcode test results advice (#8938)
Browse files Browse the repository at this point in the history
* update xcode test results advice

* copy changes

* Apply suggestions from code review

Co-authored-by: Christopher DeCairos <chris.decairos@circleci.com>

---------

Co-authored-by: Christopher DeCairos <chris.decairos@circleci.com>
  • Loading branch information
rosieyohannan and cadecairos authored Sep 5, 2024
1 parent b578da5 commit 1dc23e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jekyll/_cci2/collect-test-data.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,11 @@ You can see a full example on this link:https://levelup.gitconnected.com/how-to-
[#xcode]
=== Xcode

Xcode generates test results in a plist (property list) file format. It is possible to convert a plist file format into an XML format that can be uploaded to CircleCI using the `xsltproc` command. Follow the steps in this link:https://medium.com/@warchimede/convert-xcode-plist-test-reports-to-junit-xml-6f0aa8c3fa58[third party resource] to convert the file and then use `store_test_results` to upload the results to CircleCI.
Xcode generates test results in a Xcode Test Results (`.xcresult`) bundle format.

To integrate with CircleCI's test results features you will need to convert your Xcode Test Result bundle to the JUnit XML format.

To convert your Xcode Test Result bundle you can use a third party tool, for example, link:https://fastlane.tools/[Fastlane] or link:https://github.com/xcpretty/xcpretty[xcpretty]. Once your test results are converted you can use `store_test_results` to upload the results to CircleCI.

[#playwright]
=== Playwright
Expand Down

0 comments on commit 1dc23e9

Please sign in to comment.