---
title: defaultTestSuite
framework: xctest
role: symbol
role_heading: Type Property
path: xctest/xctestcase/defaulttestsuite
---

# defaultTestSuite

A test suite that contains test cases for all of the tests in the class.

## Declaration

```swift
class var defaultTestSuite: XCTestSuite { get }
```

## See Also

### Creating Tests Programmatically

- [init(invocation:)](xctest/xctestcase/init(invocation:).md)
- [init(selector:)](xctest/xctestcase/init(selector:).md)
- [testInvocations](xctest/xctestcase/testinvocations.md)
- [invocation](xctest/xctestcase/invocation.md)
- [invokeTest()](xctest/xctestcase/invoketest().md)
- [record(_:)](xctest/xctestcase/record(_:).md)
- [recordFailure(withDescription:inFile:atLine:expected:)](xctest/xctestcase/recordfailure(withdescription:infile:atline:expected:).md)
