Is there a keyboard shortcut in Xcode 6 to run a single current test function under cursor? Is there a keyboard shortcut in Xcode 6 to run a single current test function under cursor? xcode xcode

Is there a keyboard shortcut in Xcode 6 to run a single current test function under cursor?


Run the current test:

Control + Option + Command + U

Re-Run the last test:

Control + Option + Command + G


control-option-command G will let you rerun your last test. So if you run a single test the first time and then keep running it (a common workflow for TDD), that might save you some time ;)


The Xcode key binding preferences for these commands are:

  • Perform Action - Test

  • Perform Action - Test Again

Use those titles to find the commands for re-binding.