tests-run
Execute Unity tests with detailed results, supporting filtering by test mode, assembly, namespace, class, and method for targeted testing during development.
Instructions
Execute Unity tests and return detailed results. Supports filtering by test mode, assembly, namespace, class, and method. Recommended to use 'EditMode' for faster iteration during development.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testMode | No | Test mode to run. Options: 'EditMode', 'PlayMode'. Default: 'EditMode' Values: [EditMode, PlayMode] | 1 |
| testAssembly | No | Specific test assembly name to run (optional). Example: 'Assembly-CSharp-Editor-testable' | |
| testNamespace | No | Specific test namespace to run (optional). Example: 'MyTestNamespace' | |
| testClass | No | Specific test class name to run (optional). Example: 'MyTestClass' | |
| testMethod | No | Specific fully qualified test method to run (optional). Example: 'MyTestNamespace.FixtureName.TestName' | |
| includePassingTests | No | Include details for all tests, both passing and failing (default: false). If you just need details for failing tests, set to false. | false |
| includeMessages | No | Include test result messages in the test results (default: true). If you just need pass/fail status, set to false. | true |
| includeStacktrace | No | Include stack traces in the test results (default: false). | false |
| includeLogs | No | Include console logs in the test results (default: false). | false |
| logType | No | Log type filter for console logs. Options: 'Log', 'Warning', 'Assert', 'Error', 'Exception'. (default: 'Warning') Values: [Error, Warning, Log] | 2 |
| includeLogsStacktrace | No | Include stack traces for console logs in the test results (default: false). This is huge amount of data, use only if really needed. | false |
| requestId | No |