Skip to content

Conversation

@kukushechkin
Copy link
Contributor

@kukushechkin kukushechkin commented Oct 28, 2025

Migrating swift-distributed-tracing 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

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

Result

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

@kukushechkin kukushechkin force-pushed the swift-testing-migration branch from d50237b to d6ac6bc Compare October 29, 2025 15:22
@kukushechkin kukushechkin added the semver/none No version bump required. label Oct 29, 2025
@kukushechkin kukushechkin changed the title WIP: Swift Testing migration Migrate from XCTest to Swift Testing Oct 29, 2025
@kukushechkin kukushechkin marked this pull request as ready for review October 29, 2025 15:46
@kukushechkin kukushechkin enabled auto-merge (squash) October 29, 2025 16:20
@kukushechkin kukushechkin merged commit db35d03 into apple:main Oct 29, 2025
41 of 42 checks passed
@kukushechkin kukushechkin deleted the swift-testing-migration branch October 30, 2025 10:23
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