Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 807 Bytes

TESTING.md

File metadata and controls

26 lines (20 loc) · 807 Bytes

Testing

As usual for WorkServerAdapter implementations, our test class extends from WQ's AbstractWorkServerAdapterTest, which performs a series of standardized tests on our implementation.

Those tests run on an actual Beanstalkd instance. To keep things isolated from your system, they are run inside a custom Docker container based on the php:7.1-cli image.

To run all tests, run $ make test.

This will automatically build the mle86/php-wq-beanstalkd-test image (run $ make test-image to do so manually) and delete the container afterwards.

If you want to remove the Docker image afterwards, run $ make clean.