Skip to content

Conversation

@giginet
Copy link
Owner

@giginet giginet commented Dec 31, 2025

Motivation & Context

Continuing the migration from XCTest to Swift Testing framework. This PR completes the migration of remaining test files that were still using XCTest.

Description

  • Migrate CacheSystemTests, RunnerTests, and IntegrationTests to Swift Testing
  • Convert XCTestCase classes to @Suite(.serialized) structs
  • Replace XCTAssertEqual/XCTAssertTrue/XCTAssertFalse with #expect
  • Replace XCTSkipUnless with .enabled(if:) trait
  • Replace addTeardownBlock with defer
  • Refactor detectFrameworkType function to FrameworkTypeDetector.detect static method

giginet and others added 5 commits December 27, 2025 12:24
- Replace XCTestCase with @suite(.serialized) struct
- Add descriptive test descriptions using @test macro
- Use TemporaryDirectoryTrait for temp directory management
- Replace XCTAssertEqual/XCTAssertNil with #expect
- Replace do-catch with XCTFail with #expect(throws:)
- Modernize URL APIs (filePath, appending(components:))

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Convert the standalone function to a static method on an enum for better
namespace organization and discoverability.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant