-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Tests: Convert some WorkspaceTests module tests to Swift Testing #8092
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
Tests: Convert some WorkspaceTests module tests to Swift Testing #8092
Conversation
Ready for review, though it may be blocked as not all pipeline builds run with Swift 6.0! |
Looks like the Selft-hosted macOS pipeline is now running the nightly build |
6d94d63
to
f47210e
Compare
@swift-ci test |
f47210e
to
9f5c767
Compare
@swift-ci test self hosted |
9f5c767
to
9fa6a3b
Compare
@swift-ci test self hosted |
1 similar comment
@swift-ci test self hosted |
This PR is blocked by #8137 |
ccedc33
to
1a15afb
Compare
Test with @swift-ci please test linux |
Add a canary swift testing tests to ensure we do not regress. This test will be removed sometime after swiftlang#8092, swiftlang#8093 or swiftlang#8100 are merged
Add a canary swift testing tests to ensure we do not regress. This test will be removed sometime after swiftlang#8092, swiftlang#8093 or swiftlang#8100 are merged (cherry picked from commit 257e671) Re-adds swiftlang#8222, after it was reverted in swiftlang#8266 Depends on swiftlang/swift#79074
1a15afb
to
5b4e2a6
Compare
5b4e2a6
to
d2c0549
Compare
@swift-ci test linux |
@swift-ci test |
@swift-ci test self hosted windows |
@swift-ci test windows |
d2c0549
to
d39a015
Compare
@swift-ci test windows |
1 similar comment
@swift-ci test windows |
@swift-ci test windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff Sam... nice to see us adopting this.
Convert most of the WorkspaceTests from XCTests to Swift Testing to make use of parallelism and, in some cases, test parameterization. Not all Test Suites in WorkspaceTests have been converted as some use helpers in swift-tools-core-support, which don't have a matching Swift Testing helper.
d39a015
to
da8bae8
Compare
@swift-ci test |
@swift-ci test windows |
Convert most of the WorkspaceTests from XCTests to Swift Testing to make use of parallelism and, in some cases, test parameterization.
Motivation:
The XCTest run, by default, sequentially. Convert most of the WorkspaceTests from XCTests to Swift Testing to make use of parallelism, and in some cases, parameterized test cases.
Not all Test Suites in WorkspaceTests have been converted as some use helpers in swift-tools-core-support, which don't have a matching Swift Testing helper.
Modifications:
Convert XCTests to Swift Testing
Result:
Ran the equivalent of
and ensured there were no test-related failures.
Blocked by #8137
Blocked on swiftlang/swift#78300
Blocked on swiftlang/swift#81217