messenger-test icon indicating copy to clipboard operation
messenger-test copied to clipboard

Assertions and helpers for testing your symfony/messenger queues.

Results 14 messenger-test issues
Sort by recently updated
recently updated
newest added

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 =...

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. ![image](https://github.com/zenstruck/messenger-test/assets/182954/036e90fb-a424-4b4a-b726-9bee1ca99b6d) This might not happen to newer projects with recipes enabled.