Skip to content

Basics: remove @testable imports #8821

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

compnerd
Copy link
Member

Adjust the build to open up some of the private APIs to the package and remove the use of @testable for the Basics module in the tests.

@compnerd
Copy link
Member Author

@swift-ci please test

Copy link
Contributor

@jakepetroules jakepetroules left a comment

Choose a reason for hiding this comment

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

Very nice!

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

@swift-ci please test

@bkhouri
Copy link
Contributor

bkhouri commented Jun 18, 2025

@swift-ci test windows

@bkhouri
Copy link
Contributor

bkhouri commented Jun 18, 2025

This change may conflict with #8826

@bkhouri bkhouri mentioned this pull request Jun 18, 2025
@bkhouri
Copy link
Contributor

bkhouri commented Jun 21, 2025

@swift-ci test windows

@bkhouri bkhouri enabled auto-merge (rebase) June 21, 2025 01:45
compnerd added 2 commits June 23, 2025 08:27
This extends the visibility of some of the private implementation to the
package level to allow use for testing without `@testable` imports.
Use the newly extended APIs for testing and use a non-testable import of
the package, avoiding a recompilation.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants