I had a UI test case that needed to use a function that was defined in my application. Since there was only a single function, I just added the UITest target as a target for the file that contained the definition. If I had more than one function, I would have created a file with all of the functions that a UI Test might need.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: