test_spm_module
Validate Swift Package Manager modules by specifying the package path, target platform, test filters, and OS version. Ensures compatibility and functionality across Apple platforms.
Instructions
Test a Swift Package Manager module
Input Schema
Name | Required | Description | Default |
---|---|---|---|
osVersion | No | OS version for testing (e.g., 17.2) | |
packagePath | Yes | Path to the Swift package | |
platform | No | Target platform (iOS, macOS, tvOS, watchOS) | macOS |
testFilter | No | Filter for specific tests (optional) |
Input Schema (JSON Schema)
{
"properties": {
"osVersion": {
"description": "OS version for testing (e.g., 17.2)",
"type": "string"
},
"packagePath": {
"description": "Path to the Swift package",
"type": "string"
},
"platform": {
"default": "macOS",
"description": "Target platform (iOS, macOS, tvOS, watchOS)",
"enum": [
"iOS",
"macOS",
"tvOS",
"watchOS"
],
"type": "string"
},
"testFilter": {
"description": "Filter for specific tests (optional)",
"type": "string"
}
},
"required": [
"packagePath"
],
"type": "object"
}