Skip to content

Commit 5550022

Browse files
committed
Update running tests docs for Windows
1 parent 51a76a4 commit 5550022

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

RUNNING_TESTS.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ Two options to accomplish this are covered below.
4242

4343
### Option One: Using a RabbitMQ Release
4444

45-
It is possible to install and run a node using any [binary build](https://www.rabbitmq.com/download.html) suitable
46-
for the platform. Its [CLI tools]() then must be added to `PATH` so that `rabbitmqctl` (`rabbitmqctl.bat` on Windows)
47-
can be invoked directly without using an absolute file path.
45+
It is possible to install and run a node using any [binary build](https://www.rabbitmq.com/download.html)
46+
suitable for the platform. Its [CLI tools]() then must be added to `PATH` so that `rabbitmqctl` can be
47+
invoked directly without using an absolute file path. Note that this method does *not* work on Windows.
4848

49+
On Windows, you must run unit tests as follows (replace `X.Y.Z` with your RabbitMQ version):
50+
51+
```
52+
set RABBITMQ_RABBITMQCTL_PATH=C:\Program Files\RabbitMQ Server\rabbitmq_server-X.Y.Z\sbin\rabbitmqctl.bat
53+
.\run-test.bat
54+
```
4955

5056
### Option Two: Using RabbitMQ Umbrella Repository
5157

0 commit comments

Comments
 (0)