Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions docs/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,23 @@ When in an interactive command line prompt, you can use the following `make`
targets to build and test the BlazingMQ Python SDK. Check the
appropriate GitHub Actions configuration to set up the appropriate environment
variables that may be needed prior to running these commands (such as setting
`PYEXEC`). With a BlazingMQ broker running at `tcp://localhost:30114`, the
following targets build and test the Python SDK:
`PYEXEC`). The following targets build Python SDK:

```shell
make test-install
```

To run the tests, we need to start a broker running at `tcp://localhost:30114`:

```shell
mkdir -p bmq/logs
mkdir -p bmq/storage/archive
./build/blazingmq/src/applications/bmqbrkr/bmqbrkr.tsk ./tests/broker-config
```

And then run the tests as below:

```shell
BMQ_BROKER_URI=tcp://localhost:30114 make check
```

Expand Down
1 change: 1 addition & 0 deletions news/67.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add more details on how to run tests locally
Loading