Skip to content

[NFC] Reorganize the tests in IncrementalCompilationTests.swift #679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

davidungar
Copy link
Contributor

@davidungar davidungar commented May 26, 2021

The file IncrementalCompilationTests.swift has grown over time and accreted other test classes, encumbering navigation and clarity. Give CrossModuleIncrementalBuildTests and NonincrementalCompilationTests their own files, and reorder the contents of IncrementalCompilationTests.swift to group related tests and their helpers together. Opportunistically, make the helpers private.

This change will facilitate the addition of tests in the future.

@davidungar
Copy link
Contributor Author

@swift-ci please test

@davidungar davidungar requested a review from artemcm May 26, 2021 16:47
Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@davidungar
Copy link
Contributor Author

Thanks, @artemcm !

@davidungar davidungar merged commit d775615 into swiftlang:main May 26, 2021
@davidungar davidungar deleted the Clean-up-incremental-tests-file branch May 26, 2021 22:33
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.

2 participants