Location Simulation For Test Targets
KrisRJack opened this issue · comments
Kristopher Jackson commented
Hi All!
In a previous issue #722 & #756, Location Simulation was requested and added as a feature in XcodeGen. Is it possible to expand upon this and include location within test targets as well?
Currently, the way to simulate location is by adding the lines below, however, this is limited to normal runs in the simulator and does not work inside a UI test run:
run:
simulateLocation:
allow: true
defaultLocation: Honolulu, HI, USA
I'm wondering if it's possible to create something like below. I included an image to show how this would look inside the .xcscheme
file:
test:
gatherCoverageData: true
targets:
- App_iOS_UITests
- name: App_iOS_Tests
parallelizable: true
randomExecutionOrder: true
location: Honolulu, HI, USA ### FEATURE REQUEST