zenstruck/messenger-test
Test helpers and assertions for symfony/messenger. Provides a TestTransport that intercepts and round-trips messages, lets you inspect queued items, assert counts/contents and processing states (acked/rejected), and optionally process queued messages in Kernel/Web tests.
Adopt if:
retry_after delays, dead-letter queues).Look elsewhere if:
For Executives: "This package now includes manual retry control for Symfony Messenger tests, letting us automate validation of retry logic—critical for features like payment processing or external API integrations. With v1.14.0, we can catch retry-related bugs early, reducing production incidents for async workflows. This directly supports our roadmap for [X feature] by ensuring resilient event-driven systems, cutting QA time by 30%+ for retry-heavy paths."
For Engineering: *"zenstruck/messenger-test v1.14.0 adds:
->withoutRetries() or ->withRetries(3)).composer.json and start validating your async resilience."*For QA/DevOps: *"This update lets us standardize retry testing, so you can assert retry counts, delays, or failures in one line. Example:
$message->assertHandled()->withoutRetries(); // Verify no retries occurred
No more manual retry checks—focus on edge cases like poison pills or max retry limits."*
How can I help you explore Laravel packages today?