Duc Ninja

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