kkebo / zyphy

Zyphy is (or will be) a fast web browser engine written in Swift.
MIT License
4 stars 1 forks source link

test: put all unit tests in sources #20

Closed kkebo closed 10 months ago

kkebo commented 10 months ago

I did an experiment about this.

kkebo commented 10 months ago

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.