Functions to help creating and executing XCTest bundles.
An XCTest bundle is a CFBundle with a special product-type and bundle extension. The Mac Developer Library provides more information in the Testing with Xcode document.
The xctest_add_bundle function creates a XCTest bundle named <target> which will test the target <testee>. Supported target types for testee are Frameworks and App Bundles:
xctest_add_bundle(
<target> # Name of the XCTest bundle
<testee> # Target name of the testee
)
The following variables are set by including this module:
True if the XCTest Framework and executable were found.
The path to the xctest command line tool used to execute XCTest bundles.
The directory containing the XCTest Framework headers.
The location of the XCTest Framework.