xctest - Setting up Documents folder prior to UI Testing -
xctest ui automation testing pretty powerful stuff, until need test portion of ui presents differently based on data. instance, our app stores data in documents
folder. setting data programmagically in test pretty painful.
i know don't have access app's documents
folder ui test app. i'm looking ideas on how accomplish setting app ui testing. have launch argument parameter blows away contents of documents folder. plus copy on specific files.
i feel maybe can done part of ui target build phase, i'm not sure how target simulator device selected in schema.
Comments
Post a Comment