Skip to content

Add some help text to the merged runner.#121082

Merged
jkoritzinsky merged 2 commits intodotnet:mainfrom
jkoritzinsky:merged-runner-help
Oct 25, 2025
Merged

Add some help text to the merged runner.#121082
jkoritzinsky merged 2 commits intodotnet:mainfrom
jkoritzinsky:merged-runner-help

Conversation

@jkoritzinsky
Copy link
Member

Addresses #120992 (comment)

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 24, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds help text functionality to the XUnit test wrapper to improve usability by documenting available command-line options and filter syntax.

Key Changes:

  • Added a new Help.cs file containing comprehensive help text for the test runner
  • Integrated help text display into the generated test runner to respond to common help flags

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/tests/Common/XUnitWrapperLibrary/Help.cs New file containing static method to display help text with usage, filter syntax, and options documentation
src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs Modified test runner generation to check for help flags and display help text before initialization

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Member

@AndyAyersMS AndyAyersMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again! This will be useful.

@jkoritzinsky jkoritzinsky enabled auto-merge (squash) October 24, 2025 22:22
@jkoritzinsky jkoritzinsky merged commit 84642c9 into dotnet:main Oct 25, 2025
75 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants