Skip to content

Commit 1dc23e9

Browse files
update xcode test results advice (circleci#8938)
* update xcode test results advice * copy changes * Apply suggestions from code review Co-authored-by: Christopher DeCairos <[email protected]> --------- Co-authored-by: Christopher DeCairos <[email protected]>
1 parent b578da5 commit 1dc23e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jekyll/_cci2/collect-test-data.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,11 @@ You can see a full example on this link:https://levelup.gitconnected.com/how-to-
769769
[#xcode]
770770
=== Xcode
771771

772-
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.
772+
Xcode generates test results in a Xcode Test Results (`.xcresult`) bundle format.
773+
774+
To integrate with CircleCI's test results features you will need to convert your Xcode Test Result bundle to the JUnit XML format.
775+
776+
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.
773777

774778
[#playwright]
775779
=== Playwright

0 commit comments

Comments
 (0)