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
The question is how to add text files into unit test target.
I have some text files that are used by unit tests only. So I am trying to add them as resources:
I created folder Resources and put required files
I created ResourceFileElements that references to folder from prev step
And I set that resources in resources param of Target init (in manifest file of the project)
However, there is no folder with resources I expected to find in the navigation tree of the Xcode. Moreover, there is no error generated by tuist if I set a wrong path to the resources. It is fine with resources for other target that has type other than .unitTests
I guess I miss something. Can you please help me with this question?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
The question is how to add text files into unit test target.
I have some text files that are used by unit tests only. So I am trying to add them as resources:
However, there is no folder with resources I expected to find in the navigation tree of the Xcode. Moreover, there is no error generated by tuist if I set a wrong path to the resources. It is fine with resources for other target that has type other than .unitTests
I guess I miss something. Can you please help me with this question?
Beta Was this translation helpful? Give feedback.
All reactions