<!--
{
  "availability" : [
    "*: -"
  ],
  "documentType" : "symbol",
  "framework" : "XCTest",
  "identifier" : "/documentation/XCTest/XCTestObserver/testSuiteDidStop(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "XCTest"
    ],
    "preciseIdentifier" : "c:objc(cs)XCTestObserver(im)testSuiteDidStop:"
  },
  "title" : "testSuiteDidStop(_:)"
}
-->

# testSuiteDidStop(_:)

Notifies the observer when a test suite stops.

```
func testSuiteDidStop(_ testRun: XCTestRun!)
```

## Parameters

`testRun`

The test run object calling this method.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)