test_swift_package
Run Swift package tests using Swift Package Manager, with filtering, parallel execution, code coverage, and XUnit result output.
Instructions
Tests a Swift Package using Swift Package Manager.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "test_swift_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Skip tests matching regular expression | |
| filter | No | Run tests matching regular expression (e.g., 'MyTests.MyTestCase/testExample') | |
| parallel | No | Run tests in parallel | |
| listTests | No | List all available tests instead of running them | |
| numWorkers | No | Number of parallel test workers | |
| outputPath | No | Path for XUnit test results output | |
| codeCoverage | No | Enable code coverage | |
| configuration | No | Build configuration (default: debug) |