run_unit_tests
Run unit tests for Android or iOS applications. Returns structured test results with pass/fail status and failure details.
Instructions
Run unit tests for Android or iOS. Returns structured test results with pass/fail status and failure details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Target platform | |
| projectPath | Yes | Path to the project root directory | |
| sourceSet | No | Source set to test (test, commonTest, androidTest, iosTest) | |
| testClass | No | Specific test class to run (optional) | |
| testMethod | No | Specific test method to run (requires testClass) | |
| module | No | Gradle module for KMM projects (e.g., :shared) | |
| timeoutMs | No | Timeout in milliseconds (default: 300000) |