Class

XCTestSuite

A collection (or suite) of test cases.

Declaration

@interface XCTestSuite : XCTest

Overview

Suites are typically managed for you automatically by Xcode. Only use XCTestSuite if you need to define your own custom test suites programmatically.

Topics

Creating Test Suites

defaultTestSuite

Creates a suite of suites representing all test case methods found in the current runtime.

+ testSuiteForTestCaseClass:

Creates a new suite containing all test methods found in testCaseClass.

Managing Tests

- addTest:

Adds a test to the suite.

tests

All tests currently in the suite.

Relationships

Inherits From