Xcode provides many different ways to execute tests. You have already seen two ways to execute all the tests in the test suite--go to the Project | Test menu item and use the command + U keyboard shortcut.
Running tests
Get Test-Driven iOS Development with Swift 4 - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.