From 84bf46f79a2718461d2fc28ba982a41dabc5fbcf Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Tue, 2 Jul 2024 03:49:09 -0300 Subject: [PATCH] Dim skipped tests by default Related to #3 --- src/dotnet-trx/TrxCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dotnet-trx/TrxCommand.cs b/src/dotnet-trx/TrxCommand.cs index 9165dfb..aa7a5f0 100644 --- a/src/dotnet-trx/TrxCommand.cs +++ b/src/dotnet-trx/TrxCommand.cs @@ -22,7 +22,7 @@ public class TrxSettings : CommandSettings [Description("Include test output")] [CommandOption("-o|--output")] [DefaultValue(false)] - public bool? Output { get; init; } + public bool Output { get; init; } [Description("Recursively search for *.trx files")] [CommandOption("-r|--recursive")] @@ -71,7 +71,7 @@ public override int Execute(CommandContext context, TrxSettings settings) } break; case "NotExecuted": - MarkupLine($":fast_forward_button: {test}"); + MarkupLine($":fast_forward_button: [dim]{test}[/]"); skipped++; break; default: