Volker Voecking Software Engineering

Wed, Jan 24, 2018
Fresh install in the simulator To make sure that your UI tests start with a fresh install of the app on the simulator you can uninstall the app after building the UI tests: Open the project settings, go to the UITests target and in the section “Run Script” add the following command line: xcrun simctl uninstall booted com.vvse.toiletmap Use “accessibilityIdentifier” or “accessibilityLabel” to identify UI elements If possible use accessibilityIdentifier or accessibilityLabel to identify a UI element.


Sat, Apr 15, 2017

A very easy way to convert a Mercurial repository to Git is by using the fast-export script:

cd ~
git clone git://repo.or.cz/fast-export.git
git init git_repo
cd git_repo
git config core.ignoreCase false
~/fast-export/hg-fast-export.sh -r /path/to/old/mercurial_repo
git checkout HEAD

If you have some special requirements you might want to have a look at the comments in this StackOverflow answer: http://stackoverflow.com/a/16037861/111430