Replace app container for Xcode UI Tests

What I'd like to do is seed our app some data for some of my UITests. One appoach that I'm entertaining is to seed the data by replacing the app container with my own container (*.xcappdata).


I can do this presently, when debugging my iOS app, by setting it 'Application Data' under 'Options' in the scheme editor.


Is there a way to replace the app container in a similar fasion when running UITests?

If you setup your tests with Test Plans, you can click on the Options button to the right of the test plan name, and you'll now see an Application Data option where you can select a xcappdata file for that test plan

Replace app container for Xcode UI Tests
 
 
Q