Skip to content

Migrate to Swift Testing#60

Merged
kukushechkin merged 3 commits intoapple:mainfrom
kukushechkin:migrate-to-swift-testing
Nov 3, 2025
Merged

Migrate to Swift Testing#60
kukushechkin merged 3 commits intoapple:mainfrom
kukushechkin:migrate-to-swift-testing

Conversation

@kukushechkin
Copy link
Copy Markdown
Contributor

@kukushechkin kukushechkin commented Oct 30, 2025

Migrating swift-metrics-extras from XCTest to Swift Testing

Motivation

Swift Testing is a modern alternative to XCTest. Swift Server Ecosystem packages should serve as reference implementations for modern Swift features and best practices.

Modifications

  • Almost 1-to-1 migration of test suites, tests, and assertions to Swift Testing syntax with XCTest import removed

Result

Successfully executes 6 tests with swift test --disable-xctest.

@kukushechkin kukushechkin added the semver/none No version bump required. label Oct 30, 2025
@kukushechkin kukushechkin force-pushed the migrate-to-swift-testing branch from e597adc to 205cf31 Compare November 3, 2025 13:16
@kukushechkin kukushechkin force-pushed the migrate-to-swift-testing branch 3 times, most recently from 0b14fd8 to 6b49d72 Compare November 3, 2025 15:40
@kukushechkin kukushechkin force-pushed the migrate-to-swift-testing branch from 6b49d72 to 8211002 Compare November 3, 2025 15:53
@kukushechkin kukushechkin marked this pull request as ready for review November 3, 2025 16:03
@kukushechkin kukushechkin merged commit 01553aa into apple:main Nov 3, 2025
27 checks passed
@kukushechkin kukushechkin deleted the migrate-to-swift-testing branch November 3, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants