Skip to content

Add --experimental-attachments-path to swift test. #8170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

grynspan
Copy link
Contributor

This PR adds the given experimental command-line argument to swift test to allow writing attachments to a user-supplied directory when using Swift Testing. In the future, we will formally propose this flag as part of the attachments feature.

XCTest on Darwin would need separate changes to support this argument and they are beyond the scope of this PR. XCTest on non-Darwin platforms (corelibs-xctest) does not support attachments.

Resolves rdar://141225464.

This PR adds the given experimental command-line argument to `swift test` to allow writing
attachments to a user-supplied directory when using Swift Testing. In the future, we will
formally propose this flag as part of the attachments feature.

XCTest on Darwin would need separate changes to support this argument and they are beyond
the scope of this PR. XCTest on non-Darwin platforms (corelibs-xctest) does not support
attachments.

Resolves rdar://141225464.
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan enabled auto-merge (squash) December 10, 2024 19:31
@grynspan grynspan merged commit 11ebe9e into main Dec 10, 2024
5 checks passed
@grynspan grynspan deleted the jgrynspan/experimental-test-attachments-path branch December 10, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line interface swift test Changes impacting `swift test` tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants