File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -302,15 +302,16 @@ docker run -d --net=tarantool-php -p 3301:3301 --name=tarantool \
302302And then run both unit and integration tests:
303303
304304``` bash
305- docker run --rm --net=tarantool-php -v ` pwd` :/queue -w /queue queue
305+ docker run --rm --net=tarantool-php -v $( pwd) :/queue -w /queue queue
306306```
307307
308- To run only integration or unit tests, set the ` PHPUNIT_OPTS ` environment variable
309- to either ` --testsuite integration ` or ` --testsuite unit ` respectively, e.g.:
308+ The library uses [ PHPUnit] ( https://phpunit.de/ ) under the hood, and if needed,
309+ you can pass additional arguments and options to the ` phpunit ` command.
310+ For example, to run only unit tests, execute:
310311
311312``` bash
312- docker run --rm --net=tarantool-php -v ` pwd` :/queue -w /queue \
313- -e PHPUNIT_OPTS= ' --testsuite unit' queue
313+ docker run --rm --net=tarantool-php -v $( pwd) :/queue -w /queue \
314+ vendor/bin/phpunit --testsuite= unit
314315```
315316
316317
You can’t perform that action at this time.
0 commit comments