run_tests
Execute tests for the active Xcode project, with options for scheme, destination, test plan, test filtering, result bundles, and code coverage.
Instructions
Executes tests for the active Xcode project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | No | Optional scheme to use for testing. If not provided, will use the active project's scheme. | |
| testPlan | No | Optional name of the test plan to run. | |
| destination | No | Optional destination specifier (e.g., 'platform=iOS Simulator,name=iPhone 15'). If not provided, a suitable simulator will be selected automatically. | |
| onlyTesting | No | Optional list of tests to include, excluding all others. Format: 'TestTarget/TestClass/testMethod'. | |
| skipTesting | No | Optional list of tests to exclude. Format: 'TestTarget/TestClass/testMethod'. | |
| resultBundlePath | No | Optional path where test results bundle will be stored. | |
| enableCodeCoverage | No | Whether to enable code coverage during testing (default: false). |