Repository navigation
test: migrate SolarTests to Swift Testing - #78
Merged
Merged
Conversation
Swift Testing requires iOS 13 / macOS 10.15 / tvOS 13 / watchOS 6 minimum, so bump the package and Xcode project deployment targets to match (from iOS 12 / macOS 10.13 / tvOS 12 / watchOS 4). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FroLiTxrdpG22rB3BkMDqq
ceeK
commented
Aug 30, 2026
| GCC_WARN_UNUSED_VARIABLE = YES; | ||
| IPHONEOS_DEPLOYMENT_TARGET = 12.0; | ||
| MACOSX_DEPLOYMENT_TARGET = 10.13; | ||
| IPHONEOS_DEPLOYMENT_TARGET = 13.0; |
Owner
Author
There was a problem hiding this comment.
Had to bump to get swift testing support
ceeK
marked this pull request as ready for review
August 30, 2026 21:38
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FroLiTxrdpG22rB3BkMDqq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SolarTestsfromXCTestCaseto a Swift Testingstruct, translatingXCTAssert*/XCTFailto#expect/#requiresunrise/sunsetover the fixture cities via@Test(arguments:)so each city reports individually instead of one opaque pass/failPackage.swiftandSolar.xcodeproj) from iOS 12/macOS 10.13/tvOS 12/watchOS 4 to iOS 13/macOS 10.15/tvOS 13/watchOS 6 — the minimums Swift Testing requiresTest plan
swift build && swift testxcodebuild test -scheme "Solar macOS"xcodebuild test -scheme "Solar iOS"(simulator)Bundle.module) and Xcode-project (Bundle(for: BundleToken.self)) paths🤖 Generated with Claude Code