trace_run_tests

[solution]

Runs dotnet test under the workspace, captures stdout/stderr/TRX evidence, and stores a GliderTrace test session.

Why this tool exists

Test failures need TRX and blame artifacts as well as summarized stdout and stderr.

How it helps the agent

The model can query structured test failure evidence and rerun safely identified failures when requested.

Try it locally in the GliderTrace playground

Parameters

NameTypeRequiredDescription
targetPathstringNoOptional solution, project, or directory path under the workspace root. Defaults to the workspace root.
configurationstringNoBuild configuration passed to dotnet test. Defaults to Release.
filterstringNoOptional dotnet test filter expression.
verbositystringNodotnet test verbosity: 'quiet', 'minimal', 'normal', 'detailed', or 'diagnostic'. Defaults to minimal.
noRestorebooleanNoPass --no-restore to dotnet test. Defaults to false so fresh workspaces can restore normally.
collectBlamebooleanNoCollect standard dotnet test blame sequence artifacts when supported. Defaults to true.
rerunFailednumberNoNumber of times to rerun safely identified failed tests. Defaults to 0.

Examples

Run tests for the current workspace

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_run_tests",
    "arguments": {}
  }
}

Response Notes

Returns a test session id, result summary, TRX artifacts, stdout/stderr references, failure evidence, and rerun metadata.

↑/↓ NavigateEnter OpenSpace Expand