Flaky Tests now supports the XCResults format outputted by Swift projects using XCTests. You can now upload the .xcresults
format to Trunk directly, without configuring a JUnit XML reporter. Supporting XCTests directly also means you can include test file paths from .xcresults
when reporting to Trunk Flaky Tests. This is especially important for CODEOWNERS support planned for a future release.
You can upload XCResults using the Trunk CLI with the --xcresult-path
argument.
1./trunk flakytests upload --xcresult-path "/path/to/Test.xresult"
To learn more, visit our XCTests documentation and Uploader CLI references.