Skip to content

Commit 13c32df

Browse files
MarcoRossignoliMarco Rossignoli
andauthored
Update testing platform dotnet test integration (#41883)
* Update no-response.yml * Update NUnit doc * Revert update * Align with MSTest * Update testing platform dotnet test integration * revert update --------- Co-authored-by: Marco Rossignoli <[email protected]>
1 parent 33af1c8 commit 13c32df

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/core/testing/unit-testing-platform-integration-dotnet-test.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,19 @@ By default, VSTest is used to run `Microsoft.Testing.Platform` tests. You can en
5656
</Project>
5757
```
5858

59-
In this mode, additional parameters to the run aren't provided directly through the command line. They need to be provided as an MSBuild property named `TestingPlatformCommandLineArguments`:
59+
In this mode, you can supply extra parameters that will be utilized to call the testing application as follows:
6060

61-
```dotnetcli
62-
dotnet test -p:TestingPlatformCommandLineArguments=" --minimum-expected-tests 10 "
63-
```
61+
1. Beginning with `Microsoft.Testing.Platform` version 1.4 (included with MSTest version 3.6), options can be added after the double dash `--`:
62+
63+
```dotnetcli
64+
dotnet test -- --minimum-expected-tests 10
65+
```
66+
67+
1. By using the `TestingPlatformCommandLineArguments` MSBuild property:
68+
69+
```dotnetcli
70+
dotnet test -p:TestingPlatformCommandLineArguments=" --minimum-expected-tests 10 "
71+
```
6472
6573
## Additional MSBuild options
6674

0 commit comments

Comments
 (0)