<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "XCTest",
  "identifier" : "/documentation/XCTest/XCTestSuiteRun",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "XCTest"
    ],
    "preciseIdentifier" : "c:objc(cs)XCTestSuiteRun"
  },
  "title" : "XCTestSuiteRun"
}
-->

# XCTestSuiteRun

An object that collects information about a specific execution of a test suite.

```
class XCTestSuiteRun
```

## Overview

The test runner manages the creation and tracking of `XCTestSuiteRun` for an [`XCTestSuite`](/documentation/XCTest/XCTestSuite).

## Topics

### Managing Test Runs

[`-  addTestRun:`](/documentation/XCTest/XCTestSuiteRun/addTestRun(_:))

Adds a test run to the test suite.

[`testRuns`](/documentation/XCTest/XCTestSuiteRun/testRuns)

An array of test runs that the test suite manages.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

### Inherits From

[`XCTestRun`](/documentation/XCTest/XCTestRun)

---

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)