pytest
Execute pytest on specified paths and retrieve a JUnit XML report for test results analysis and CI integration.
Instructions
Run pytest and return its JUnit XML report.
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": "pytest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suites | No | ||
| exit_code | Yes |