<!--
{
  "availability" : [
    "Xcode: 16.0.0 -",
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "swift: 6.0.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Testing",
  "identifier" : "/documentation/Testing/Test/isSuite",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Swift Testing"
    ],
    "preciseIdentifier" : "s:7Testing4TestV7isSuiteSbvp"
  },
  "title" : "isSuite"
}
-->

# isSuite

Whether or not this instance is a test suite containing other tests.

```
var isSuite: Bool { get }
```

## Discussion

Instances of [`Test`](/documentation/Testing/Test) attached to types rather than functions are test
suites. They do not contain any test logic of their own, but they may
have traits added to them that also apply to their subtests.

A test suite can be declared using the [`Suite(_:_:)`](/documentation/Testing/Suite(_:_:)) macro.

---

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)