Skip to content

Commit

Permalink
Don't prefix trx report options unnecessarily
Browse files Browse the repository at this point in the history
Since the user may not even be aware that there's a standalone tool called trx that does the same test reporting.
  • Loading branch information
kzu committed Jul 21, 2024
1 parent 5865215 commit 981909f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dotnet-retest/RetestCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,31 +216,31 @@ public class RetestSettings : CommandSettings
#region trx

[Description("Include test output in report")]
[CommandOption("--trx-output")]
[CommandOption("--output")]
[DefaultValue(false)]
public bool Output { get; init; }

/// <summary>
/// Whether to include skipped tests in the output.
/// </summary>
[Description("Include skipped tests in report")]
[CommandOption("--trx-skipped")]
[CommandOption("--skipped")]
[DefaultValue(true)]
public bool Skipped { get; init; } = true;

/// <summary>
/// Report as GitHub PR comment.
/// </summary>
[Description("Report as GitHub PR comment")]
[CommandOption("--trx-gh-comment")]
[CommandOption("--gh-comment")]
[DefaultValue(true)]
public bool GitHubComment { get; init; } = true;

/// <summary>
/// Report as GitHub PR comment.
/// </summary>
[Description("Report as GitHub step summary")]
[CommandOption("--trx-gh-summary")]
[CommandOption("--gh-summary")]
[DefaultValue(true)]
public bool GitHubSummary { get; init; } = true;

Expand Down

0 comments on commit 981909f

Please sign in to comment.