Skip to content
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

test: put all unit tests in sources #20

Closed
wants to merge 1 commit into from
Closed

Conversation

kkebo
Copy link
Owner

@kkebo kkebo commented Oct 13, 2023

I did an experiment about this.

@kkebo kkebo self-assigned this Oct 13, 2023
@kkebo kkebo marked this pull request as draft October 13, 2023 13:15
@kkebo
Copy link
Owner Author

kkebo commented Nov 2, 2023

In the case of Zyphy, the test target uses JSON files as resources. If I put unit tests in sources, those resources will be bundled into the application. That's not desired.

So I won't merge this PR until Swift can handle test-only resources even if unit tests are in sources in the future.

@kkebo kkebo closed this Nov 2, 2023
@kkebo kkebo deleted the tests-in-sources branch November 2, 2023 17:52
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