Skip to content

Commit 43798d6

Browse files
authored
Doc: add more detail on how to run tests locally (#66)
Signed-off-by: Emelia Lei <[email protected]>
1 parent 72b9886 commit 43798d6

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

docs/BUILD.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,23 @@ When in an interactive command line prompt, you can use the following `make`
3737
targets to build and test the BlazingMQ Python SDK. Check the
3838
appropriate GitHub Actions configuration to set up the appropriate environment
3939
variables that may be needed prior to running these commands (such as setting
40-
`PYEXEC`). With a BlazingMQ broker running at `tcp://localhost:30114`, the
41-
following targets build and test the Python SDK:
40+
`PYEXEC`). The following targets build Python SDK:
4241

4342
```shell
4443
make test-install
44+
```
45+
46+
To run the tests, we need to start a broker running at `tcp://localhost:30114`:
47+
48+
```shell
49+
mkdir -p bmq/logs
50+
mkdir -p bmq/storage/archive
51+
./build/blazingmq/src/applications/bmqbrkr/bmqbrkr.tsk ./tests/broker-config
52+
```
53+
54+
And then run the tests as below:
55+
56+
```shell
4557
BMQ_BROKER_URI=tcp://localhost:30114 make check
4658
```
4759

news/67.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add more details on how to run tests locally

0 commit comments

Comments
 (0)