Skip to content

Add some help text to the merged runner. - #121082

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

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

Conversation

@jkoritzinsky

Copy link
Copy Markdown
Member

@github-actionsgithub-actionsBot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 24, 2025

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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.

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

Comment threadsrc/tests/Common/XUnitWrapperLibrary/Help.cs Outdated
Comment threadsrc/tests/Common/XUnitWrapperLibrary/Help.cs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

@AndyAyersMSAndyAyersMS left a comment

Copy link
Copy Markdown
Member

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:mainOct 25, 2025
75 checks passed
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Nov 24, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-labelAn 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.

3 participants

@jkoritzinsky@AndyAyersMS