You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dotnet-retest/TrxCommand.cs
+42-8Lines changed: 42 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,16 @@ public partial class TrxCommand : Command<TrxCommand.TrxSettings>
26
26
staticstringAuthor=>
27
27
$"from [{ThisAssembly.Project.PackageId}]({ThisAssembly.Project.PackageProjectUrl}) v{ThisAssembly.Project.Version} on {RuntimeInformation.FrameworkDescription} with [:purple_heart:](https://github.com/sponsors/devlooped)";
28
28
29
+
publicenumVerbosity
30
+
{
31
+
[Description("Only failed tests are displayed")]
32
+
Quiet,
33
+
[Description("Failed and skipped tests are displayed")]
34
+
Normal,
35
+
[Description("Failed, skipped and passed tests are displayed")]
36
+
Verbose,
37
+
}
38
+
29
39
publicclassTrxSettings:CommandSettings
30
40
{
31
41
[Description("Optional base directory for *.trx files discovery. Defaults to current directory.")]
@@ -42,21 +52,42 @@ public class TrxSettings : CommandSettings
42
52
[DefaultValue(true)]
43
53
publicboolRecursive{get;set;}=true;
44
54
55
+
/// <summary>
56
+
/// Output verbosity.
57
+
/// </summary>
58
+
[Description(
59
+
"""
60
+
Output display verbosity:
61
+
- quiet: only failed tests are displayed
62
+
- normal: failed and skipped tests are displayed
63
+
- verbose: failed, skipped and passed tests are displayed
0 commit comments