You can abort a running test session at any time. So doing, all tests that are current running will stop immediately. The icons of the tests in the test runner reflect the statuses of the tests (passed, failed, aborted, or never run).
To stop a testing session, do one of the following
On the toolbar of the test runner, click the stop button .
Use ⌘F2 keyboard shortcut.