1 parent f7e2eaf commit 06af3cbCopy full SHA for 06af3cb
1 file changed
sdk/tools/Azure.GeneratorAgent/src/Mcp/Tools/TestResult.cs
@@ -0,0 +1,20 @@
1
+// Copyright (c) Microsoft Corporation. All rights reserved.
2
+// Licensed under the MIT License.
3
+
4
+namespace Azure.GeneratorAgent.Mcp.Tools;
5
6
+/// <summary>
7
+/// Structured test execution result.
8
+/// </summary>
9
+public sealed class TestResult
10
+{
11
+ public bool Success { get; set; }
12
+ public int ExitCode { get; set; }
13
+ public int Passed { get; set; }
14
+ public int Failed { get; set; }
15
+ public int Skipped { get; set; }
16
+ public int Total { get; set; }
17
+ public List<string> Failures { get; set; } = [];
18
+ public string? Error { get; set; }
19
+ public string RawOutput { get; set; } = string.Empty;
20
+}
0 commit comments