Skip to content

Commit

Permalink
Update RunSettingsArguments.md (#4639)
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd authored Aug 3, 2023
1 parent 9a0c418 commit 2b7cec6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/RunSettingsArguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ Starting from .NET SDK 5.0 you can also set `TestRunParameters` using command li
# cmd
dotnet test -- TestRunParameters.Parameter(name=\"myParam\", value=\"value\")
# powershell
dotnet test --% -- TestRunParameters.Parameter(name=\"myParam\", value=\"value\")
# powershell (prior 7.3, or with $PSNativeCommandArgumentPassing = "legacy")
dotnet test --% -- TestRunParameters.Parameter(name=\"myParam\", value=\"value\")
# powershell (7.3+)
dotnet test --% -- TestRunParameters.Parameter(name="myParam", value="value")
# bash
dotnet test -- TestRunParameters.Parameter\(name=\"myParam\",\ value=\"value\"\)
Expand Down

0 comments on commit 2b7cec6

Please sign in to comment.