messenger-test
messenger-test copied to clipboard
Assertions and helpers for testing your symfony/messenger queues.
Implement Symfony\Contracts\Service\ResetInterface so TestTransport could be cleared automatically after each tearDown Discussed in: https://github.com/zenstruck/messenger-test/pull/77#issuecomment-2060798321
TestTransport use static properties, that are not resetted between tests event when Symfony Kernel is rebooted.
I'm using API Platform. I have many transports and many tests that work great. But after adding a new transport and implementing a test I am getting an error: ```...
Hi, is there a way of testing whether failed messages end up in a correct failure_transport? Basically what I want to do is something like this: public function testOrderFailure(): void...
Can we have a possibility to provide message index which message should be processed from the queue? If there are many different messages and I need to process only one...
Hello, I try to test the html content of an email (I want to check a particular link inside). Here is the code : ``` $asyncMessengerTransport = $this->messenger('async'); $asyncMessengerQueue =...
I believe requires #26.
Is there a way to check stamps and the final message with this library ? I explain myself. I use messenger with rabbitmq, and between different microservices. To perform that,...
I ran into an error and it was fixed by adding the bundle.  This might not happen to newer projects with recipes enabled.