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
I am trying to access the main app's xcasset catalog from my Snapshot Test target, by setting the main app as the dependency target of my test target, but it didn't work, i.e. the xcasset catalog would not show up in my test target's resources list.
The text was updated successfully, but these errors were encountered:
Hey @SterlingWaves - thanks for the report. If you're looking to setup an iOS test which "depends on the application" ( e.g. the test bundle is loaded into the application ) then you may want to set the TEST_HOST to the app in question.
For more of "unit" style snapshotting, perhaps you want to load various libraries and assets of the application in question: no dependency on the app process.
I took a look at this, and it seems like .xcasset may not be populated from a dependent library to a test bundle target under XCHammer.
I am trying to access the main app's xcasset catalog from my Snapshot Test target, by setting the main app as the dependency target of my test target, but it didn't work, i.e. the xcasset catalog would not show up in my test target's resources list.
The text was updated successfully, but these errors were encountered: