Xcode tip: take the following steps to run your tests in random order:
1. Select the Test step from the scheme editor.
2. Click the Info button at the top of the scheme editor.
3. Click the Options button next to the test target.
4. Select the Randomize execution order checkbox.