TestΒΆ

Rabbitmq connection string configuration for test available in phpunit.xml. If you installed rabbitmq and ready to accept request we can use this:

php ./vendor/bin/phpunit

Also we can run test with docker-compose with creating application and RabbitMQ container.

Run test:

docker-compose up --build --exit-code-from micro micro

For stop and remove created containers:

docker-compose down