xray_import_nunit
Import NUnit XML test results into Xray Cloud to record .NET test outcomes and optionally attach execution-level metadata such as summary, description, or version.
Instructions
Import NUnit XML test results. Read the NUnit XML output file and pass the full content here. Optionally provide testExecInfo for execution-level metadata (summary, description, version). Use this tool to push NUnit test results from .NET projects into Xray Cloud.
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": {
"content": "<content>"
},
"name": "xray_import_nunit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| content | Yes | NUnit XML content as a string | |
| projectKey | No | Jira project key | |
| testExecKey | No | Existing test execution key to update | |
| testPlanKey | No | Test plan key to associate results with | |
| testExecInfo | No | Test execution metadata for multipart mode. When provided, import uses multipart/form-data to include execution-level fields (summary, description, version, etc.) that are not available in simple mode. |