-
Notifications
You must be signed in to change notification settings - Fork 6
Swift 6 #5
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
base: main
Are you sure you want to change the base?
Conversation
* Major refactoring in support of concurrency checking - included backward breaking changes. * Adopt swift testing.
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.
This is awesome. Test scheme doesn't run all the tests, see my note. Any reason to not bump everything to Swift 6, even though it's pre-release?
func testHorizontalUncertainty() { | ||
var location = CLLocation(coordinate: .pointNemo) | ||
XCTAssertNil(location.horizontalUncertainty) | ||
struct CLLocationTests { |
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.
For these nested test suites, the enclosing struct needs @Suite
annotation if it doesn't (directly) contain any @Test
s
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.
Son of a…
I was wondering why the ef those weren't running,
Not really, I just wanted to try it one step at a time. |
It may be a while before GitHub actions supports macOS 15, so the tests won't build until then. Hopefully once the public betas are out. |
This is a major refactoring that enables strict concurrency checking.
It introduces backward breaking changes that will require a major version bump.
The largest change is that the formatters can now only be configured upon initialization, so this settings become immutable.
Other changes include the adoption of the new Swift Testing framework. This requires Xcode 16.