You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
carlosypunto (JIRA User), that kind of works. You need to invoke the function with #file though, otherwise you won't necessarily get the right thing:
Say your test file is found here: <project_root>/tests/ddb/testfile.swift and you want data in <project_root>/test-data, you need to do something like this:
Additional Detail from JIRA
md5: f1c9317e97dfd1c1578d379e97bc2a11
relates to:
Issue Description:
The Swift Package Manager needs the ability to place test collateral in the output folder. Currently, I have to resort to this hack:
let path = NSString.path(withComponents: [Bundle(for: JSValuePerformanceTests.self).bundlePath, "..", "..", "..", "TestCollateral", "sample.json"])
The text was updated successfully, but these errors were encountered: