Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin authored Sep 29, 2023
1 parent 628e4d9 commit 74a5f33
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,21 @@ ps = client.clear_permissions_of("/", "guest")

## Running Tests

bundle install
bundle exec rspec -cfd spec
Before running the test suites, run a script that will set up the local node:

``` shell
export RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL="rabbitmqctl"
export RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQ_PLUGINS="rabbitmq-plugins"

./bin/ci/before_build.sh
```

To run all specs:

``` shell
bundle install
bundle exec rspec -cfd spec
```

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

0 comments on commit 74a5f33

Please sign in to comment.