Skip to content

Document semicolon handling in RunSettings test parameters#15561

Merged
nohwnd merged 1 commit into
microsoft:mainfrom
nohwnd:fix-runsettings-docs
Mar 24, 2026
Merged

Document semicolon handling in RunSettings test parameters#15561
nohwnd merged 1 commit into
microsoft:mainfrom
nohwnd:fix-runsettings-docs

Conversation

@nohwnd
Copy link
Copy Markdown
Member

@nohwnd nohwnd commented Mar 24, 2026

Closes #15332

Add a new section to RunSettingsArguments.md explaining how to pass values
containing semicolons (e.g. connection strings) via TestRunParameters on the
command line. Includes shell-specific examples for cmd, PowerShell, and bash,
and notes that no URL-encoding (%3B) is needed — only proper shell quoting.

Closes microsoft#15332

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 24, 2026 06:31
Copy link
Copy Markdown
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

Adds documentation clarifying how to pass semicolons (and other special characters) in dotnet test TestRunParameters.Parameter(...) values across common shells.

Changes:

  • Document that the test platform preserves semicolons and does not require URL encoding.
  • Add shell-specific quoting/escaping examples for cmd, PowerShell, and bash.
  • Recommend using a .runsettings file when values contain many special characters.

Comment thread docs/RunSettingsArguments.md
Comment thread docs/RunSettingsArguments.md
Comment thread docs/RunSettingsArguments.md
@nohwnd nohwnd added the 🚢 Ship it! Add to PRs where owner approves automated PR, but cannot approve because they "wrote it". label Mar 24, 2026
@nohwnd nohwnd enabled auto-merge (squash) March 24, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚢 Ship it! Add to PRs where owner approves automated PR, but cannot approve because they "wrote it".

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RunSettingsArguments.md does not mention how to handle semicolons in test parameters, e.g. connection strings

3 participants