Skip to content

Conversation

finestructure
Copy link
Member

This migrates our first test class to Swift Testing:

Screenshot 2025-02-05 at 10 16 04

The conversion task less than a second and required no changes at all. You simply run swift-testing-revolutionary with a test class file as input:

❯ swift-testing-revolutionary Tests/AppTests/AlertingTests.swift
Converting AlertingTests.swift
~/P/S/spi-server on issue-3655-swift-testing-part-1

@cla-bot cla-bot bot added the cla-signed label Feb 5, 2025
@finestructure
Copy link
Member Author

Not all conversions will be this simple but I've converted AnalyzerTests in the past and that's probably one of our most complicated test classes.

@finestructure finestructure merged commit a9192b6 into main Feb 5, 2025
6 checks passed
@finestructure finestructure deleted the issue-3655-swift-testing-part-1 branch February 5, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants