run_tests
Execute tests in a directory using the automatically detected test framework, with options for coverage, watch mode, parallel execution, and custom arguments.
Instructions
Run tests using the detected test framework
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": "run_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments to pass to the test runner | |
| watch | No | Run tests in watch mode | |
| pattern | No | Test file pattern or specific test to run | |
| timeout | No | Test timeout in milliseconds | |
| verbose | No | Enable verbose output | |
| coverage | No | Generate test coverage report | |
| parallel | No | Run tests in parallel when supported | |
| directory | No | Working directory for the test command |