The Swift Package Manager does not yet provide a mechanism for handling resources. The following is a workable approach for using test resources TestResources/ within a package; and, also provides for a consistent TestScratch/ directory for creating test files if needed.
Setup | File Locations | Resources
Setup: ▴
- Add test resources directory
TestResources/in thePackageName/directory.