Skip to content

Commit 74a5f33

Browse files
Update README.md
1 parent 628e4d9 commit 74a5f33

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,21 @@ ps = client.clear_permissions_of("/", "guest")
347347

348348
## Running Tests
349349

350-
bundle install
351-
bundle exec rspec -cfd spec
350+
Before running the test suites, run a script that will set up the local node:
351+
352+
``` shell
353+
export RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL="rabbitmqctl"
354+
export RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQ_PLUGINS="rabbitmq-plugins"
355+
356+
./bin/ci/before_build.sh
357+
```
358+
359+
To run all specs:
360+
361+
``` shell
362+
bundle install
363+
bundle exec rspec -cfd spec
364+
```
352365

353366
The test suite assumes that RabbitMQ is running locally with stock settings
354367
and rabbitmq-management plugin enabled.

0 commit comments

Comments
 (0)