-
Notifications
You must be signed in to change notification settings - Fork 33
[test] Migrate unit tests to Swift Testing #88
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
Conversation
adjusted tag to |
@@ -0,0 +1,26 @@ | |||
// swift-tools-version:5.8 |
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.
It is standard to just support the last three versions of swift. So you should only need to support 5.10.
Does [email protected] work?
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.
Ok. Will update to 5.10 before merging.
Yes it works, it is picked up for any 5.x version
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.
In the file name, you must always provide the major version component and you can optionally provide the minor and patch version components for more granular control.
Migrate all unti tests to Swift Testing
Motivation:
Allows to compile and run test on open source Swift toolchain 6
Modifications:
Migrate according to
https://developer.apple.com/documentation/testing/migratingfromxctest
Result: