I am currently investigating running Calabash/Cucumber tests for iOS as part of a Jenkins build job. The idea is it will run the tests against the different languages the application supports.
The code to initialise the tests once the app has been built is:
system("SDK_VERSION=#{sdk_version} \
DEVICE='#{ios_device}' \
DEVICE_TARGET='#{device_name} (#{sdk_version} Simulator)' \
APP_BUNDLE_PATH='#{app_path}' \
CONNECT_TIMEOUT=#{connect_timeout} \
RESET_BETWEEN_SCENARIOS=1 \
SCREENSHOT_PATH='#{screenshotfolder}' \
cucumber --format json -o Reporting/#{log_file} #{cucumber_tags}")
I have come across this project (https://github.com/jonathanpenn/ui-screen-shooter) which runs some automation testing and launches the app in different languages but can't see how I can fit that into my project.
How can I set the language the simulator launches in when using cucumber?