[solution]
Runs dotnet test under the workspace, captures stdout/stderr/TRX evidence, and stores a GliderTrace test session.
Test failures need TRX and blame artifacts as well as summarized stdout and stderr.
The model can query structured test failure evidence and rerun safely identified failures when requested.
Try it locally in the GliderTrace playground
| Name | Type | Required | Description |
|---|---|---|---|
| targetPath | string | No | Optional solution, project, or directory path under the workspace root. Defaults to the workspace root. |
| configuration | string | No | Build configuration passed to dotnet test. Defaults to Release. |
| filter | string | No | Optional dotnet test filter expression. |
| verbosity | string | No | dotnet test verbosity: 'quiet', 'minimal', 'normal', 'detailed', or 'diagnostic'. Defaults to minimal. |
| noRestore | boolean | No | Pass --no-restore to dotnet test. Defaults to false so fresh workspaces can restore normally. |
| collectBlame | boolean | No | Collect standard dotnet test blame sequence artifacts when supported. Defaults to true. |
| rerunFailed | number | No | Number of times to rerun safely identified failed tests. Defaults to 0. |
Run tests for the current workspace
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trace_run_tests",
"arguments": {}
}
}Returns a test session id, result summary, TRX artifacts, stdout/stderr references, failure evidence, and rerun metadata.