Skip to content

Commit d5c90f7

Browse files
Use -f to make examples cross-platform, references #820
1 parent bd3dff7 commit d5c90f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

RUNNING_TESTS.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,14 @@ docker run -d --hostname rabbitmq01 --name rabbitmq01 -p 15672:15672 -p 5672:567
8181
Then, to run the tests use:
8282

8383
``` powershell
84+
# will run tests on .NET Core and .NET Framework
8485
run-test.bat
8586
```
8687

8788
On MacOS, Linux, BSD use:
8889

8990
``` shell
91+
# will only run tests on .NET Core
9092
run-test.sh
9193
```
9294

@@ -96,9 +98,9 @@ Running individual tests and fixtures on Windows is trivial using the Visual Stu
9698
To run a specific tests fixture on MacOS or Linux, use the NUnit filter expressions to select the tests to be run:
9799

98100
``` shell
99-
dotnet test projects/Unit --filter "Name~TestAmqpUriParseFail"
101+
dotnet test projects/Unit -f netcoreapp3.1 --filter "Name~TestAmqpUriParseFail"
100102

101-
dotnet test projects/Unit --filter "FullyQualifiedName~RabbitMQ.Client.Unit.TestHeartbeats"
103+
dotnet test projects/Unit -f netcoreapp3.1 --filter "FullyQualifiedName~RabbitMQ.Client.Unit.TestHeartbeats"
102104
```
103105

104106
## Running Tests for a Specific .NET Target

0 commit comments

Comments
 (0)