Duc Ninja

I'm an iOS engineer and a ninja as well.


Shortcut to Run a Test Case or Run Whole Test Case

⌃⌥⌘U shortcut does different things depending on the current cursor location:

  • inside a test method: runs this single test method
  • inside an XCTestCase subclass but outside of any method: runs all tests in the class
  • Run last test case before: ⌃⌥⌘G

Source: @arekholko