import_test_results
Import JUnit XML test execution results into the UTF registry to enable accurate pass/fail reporting.
Instructions
Import JUnit XML execution results into the UTF registry.
Use this when you have already run tests with pytest / Maven / Go and want to register the results so that generate_report shows real pass/fail rates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"junit_xml_path": "<junit_xml_path>"
},
"name": "import_test_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language label (python|typescript|...). Default: python | python |
| framework | No | Framework label (pytest|jest|...). Default: pytest | pytest |
| test_type | No | Test type label (unit|integration|api|e2e|...). Default: e2e | e2e |
| project_id | No | Override project name in registry (defaults to project_dir name). | |
| project_dir | No | Absolute path to caller's project root. Registry stored at <project_dir>/.utf/utf.db. Defaults to UTF_PROJECT_DIR or cwd. | |
| junit_xml_path | Yes | Path to the JUnit XML file (absolute or relative to project_dir). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||